Explorar o código

chore: remove false positive primitive prop

alvarosabu %!s(int64=2) %!d(string=hai) anos
pai
achega
625362ea96
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {