소스 검색

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