소스 검색

Merge pull request #6301 from aWeirdo/patch-26

UnIndexed picking fix
David Catuhe 6 년 전
부모
커밋
af94169388
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/Meshes/instancedMesh.ts

+ 2 - 0
src/Meshes/instancedMesh.ts

@@ -32,6 +32,8 @@ export class InstancedMesh extends AbstractMesh {
 
         this._sourceMesh = source;
 
+        this._unIndexed = source._unIndexed;
+
         this.position.copyFrom(source.position);
         this.rotation.copyFrom(source.rotation);
         this.scaling.copyFrom(source.scaling);