瀏覽代碼

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