Преглед на файлове

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) {
       if (!target) {
         logError(`${name} is not defined on the THREE namespace. Use extend to add it to the catalog.`)
         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) {
     if (instance.isCamera) {