David Catuhe 7 년 전
부모
커밋
a0afb803db
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/Mesh/babylon.mesh.vertexData.ts

+ 3 - 0
src/Mesh/babylon.mesh.vertexData.ts

@@ -250,7 +250,10 @@
 
             if (this.indices) {
                 meshOrGeometry.setIndices(this.indices, null, updatable);
+            } else {
+                meshOrGeometry.setIndices([], null);
             }
+
             return this;
         }