소스 검색

Fixed UpdateVerticesData(positions) dose not update collisions

David Catuhe 9 년 전
부모
커밋
ea8163918c

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 3 - 3
dist/preview release/babylon.core.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 805 - 805
dist/preview release/babylon.d.ts


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 3 - 3
dist/preview release/babylon.js


+ 1 - 0
dist/preview release/babylon.max.js

@@ -16612,6 +16612,7 @@ var BABYLON;
         };
         // Methods
         SubMesh.prototype.refreshBoundingInfo = function () {
+            this._lastColliderWorldVertices = null;
             if (this.IsGlobal) {
                 return;
             }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 3 - 3
dist/preview release/babylon.noworker.js


+ 1 - 0
src/Mesh/babylon.subMesh.js

@@ -51,6 +51,7 @@ var BABYLON;
         };
         // Methods
         SubMesh.prototype.refreshBoundingInfo = function () {
+            this._lastColliderWorldVertices = null;
             if (this.IsGlobal) {
                 return;
             }

+ 2 - 0
src/Mesh/babylon.subMesh.ts

@@ -67,6 +67,8 @@
 
         // Methods
         public refreshBoundingInfo(): void {
+            this._lastColliderWorldVertices = null;
+
             if (this.IsGlobal) {
                 return;
             }