소스 검색

chore: remove false positive primitive prop

alvarosabu 2 년 전
부모
커밋
625362ea96
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/core/nodeOps.ts

+ 1 - 1
src/core/nodeOps.ts

@@ -44,7 +44,7 @@ export const nodeOps: RendererOptions<TresObject, TresObject> = {
       if (!target) {
         logError(`${name} is not defined on the THREE namespace. Use extend to add it to the catalog.`)
       }
-      instance = Object.assign(new target(...props.args), { type: name, attach: props.attach, primitive: true })
+      instance = Object.assign(new target(...props.args), { type: name, attach: props.attach })
     }
 
     if (instance.isCamera) {