Prechádzať zdrojové kódy

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe 9 rokov pred
rodič
commit
ae60e34f4c
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      src/Mesh/babylon.meshSimplification.ts

+ 1 - 0
src/Mesh/babylon.meshSimplification.ts

@@ -574,6 +574,7 @@
             this._reconstructedMesh.material = this._mesh.material;
             this._reconstructedMesh.parent = this._mesh.parent;
             this._reconstructedMesh.isVisible = false;
+            this._reconstructedMesh.renderingGroupId = this._mesh.renderingGroupId;
         }
 
         private isFlipped(vertex1: DecimationVertex, vertex2: DecimationVertex, point: Vector3, deletedArray: Array<boolean>, borderFactor: number, delTr: Array<DecimationTriangle>): boolean {