Переглянути джерело

chore: add return on key args check

alvarosabu 1 рік тому
батько
коміт
1866be1cd1
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      src/core/nodeOps.ts

+ 1 - 0
src/core/nodeOps.ts

@@ -190,6 +190,7 @@ export const nodeOps: RendererOptions<TresObject, TresObject> = {
         if (node.type && nextValue.length > 0) {
           root = Object.assign(prevNode, new catalogue.value[node.type](...nextValue))
         }
+        return
       }
 
       if (root.type === 'BufferGeometry') {