Browse Source

Update babylonFileLoader.ts

MackeyK24 6 năm trước cách đây
mục cha
commit
1a5ec7a810
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/Loading/Plugins/babylonFileLoader.ts

+ 0 - 1
src/Loading/Plugins/babylonFileLoader.ts

@@ -79,7 +79,6 @@ var loadDetailLevels = (scene: Scene, mesh: any) => {
                         const lodid: string = lodmeshes[index];
                         const lodmesh: Mesh = scene.getMeshByID(lodid) as Mesh;
                         if (lodmesh != null) {
-                            lodmesh.parent = mastermesh;
                             mastermesh.addLODLevel(distances[index], lodmesh);
                         }
                     }