Browse Source

Merge pull request #6301 from aWeirdo/patch-26

UnIndexed picking fix
David Catuhe 6 years ago
parent
commit
af94169388
1 changed files with 2 additions and 0 deletions
  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);