Browse Source

chore: add return on key args check

alvarosabu 1 năm trước cách đây
mục cha
commit
1866be1cd1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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') {