File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libs/core/src/lib/renderer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ export class NgtRenderer2 implements Renderer2 {
159
159
160
160
const threeName = kebabToPascal ( name . startsWith ( 'ngt-' ) ? name . slice ( 4 ) : name ) ;
161
161
const threeTarget = this . catalogue [ threeName ] ;
162
- //
162
+
163
163
if ( threeTarget ) {
164
164
const threeInstance = prepare ( new threeTarget ( ...injectedArgs ) , name ) ;
165
165
const rendererNode = createRendererNode ( 'three' , threeInstance , this . document ) ;
@@ -168,7 +168,7 @@ export class NgtRenderer2 implements Renderer2 {
168
168
169
169
// auto-attach for geometry and material
170
170
if ( is . three < THREE . BufferGeometry > ( threeInstance , 'isBufferGeometry' ) ) {
171
- Object . assign ( instanceState , { attach : [ 'geometry' ] } ) ;
171
+ instanceState . attach = [ 'geometry' ] ;
172
172
} else if ( is . three < THREE . Material > ( threeInstance , 'isMaterial' ) ) {
173
173
instanceState . attach = [ 'material' ] ;
174
174
}
You can’t perform that action at this time.
0 commit comments