소스 검색

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();
                         }
                     }