소스 검색

Fixing race condition on computeWorldMatrix

David Catuhe 11 년 전
부모
커밋
8aa97fff1e
3개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      Babylon/Mesh/babylon.geometry.js
  2. 1 0
      Babylon/Mesh/babylon.geometry.ts
  3. 1 1
      babylon.1.12-beta.js

+ 1 - 0
Babylon/Mesh/babylon.geometry.js

@@ -64,6 +64,7 @@ var BABYLON;
                     mesh._resetPointsArrayCache();
                     mesh._boundingInfo = new BABYLON.BoundingInfo(extend.minimum, extend.maximum);
                     mesh._createGlobalSubMesh();
+                    mesh.computeWorldMatrix(true);
                 }
             }
         };

+ 1 - 0
Babylon/Mesh/babylon.geometry.ts

@@ -72,6 +72,7 @@
                     mesh._resetPointsArrayCache();
                     mesh._boundingInfo = new BABYLON.BoundingInfo(extend.minimum, extend.maximum);
                     mesh._createGlobalSubMesh();
+                    mesh.computeWorldMatrix(true);
                 }
             }
         }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
babylon.1.12-beta.js