浏览代码

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) {