浏览代码

Remove unnecessary call to refreshBoundingInfo

Popov72 5 年之前
父节点
当前提交
f244d63d80
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      loaders/src/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.ts

+ 0 - 1
loaders/src/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.ts

@@ -104,7 +104,6 @@ export class EXT_mesh_gpu_instancing implements IGLTFLoaderExtension {
                             translationBuffer && Vector3.FromArrayToRef(translationBuffer, i * 3, babylonInstancedMesh.position);
                             rotationBuffer && Quaternion.FromArrayToRef(rotationBuffer, i * 4, babylonInstancedMesh.rotationQuaternion!);
                             scaleBuffer && Vector3.FromArrayToRef(scaleBuffer, i * 3, babylonInstancedMesh.scaling);
-                            babylonInstancedMesh.refreshBoundingInfo();
                         }
                     }