Browse Source

Nightly + worldmatrix cache improvement

David Catuhe 8 years ago
parent
commit
aa05160231

File diff suppressed because it is too large
+ 22 - 22
dist/preview release/babylon.core.js


File diff suppressed because it is too large
+ 1163 - 1163
dist/preview release/babylon.d.ts


File diff suppressed because it is too large
+ 30 - 30
dist/preview release/babylon.js


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

@@ -13068,7 +13068,7 @@ var BABYLON;
             if (this._isWorldMatrixFrozen) {
                 return this._worldMatrix;
             }
-            if (!force && ((this._currentRenderId === this.getScene().getRenderId() && this.isSynchronized(true)))) {
+            if (!force && this.isSynchronized(true)) {
                 this._currentRenderId = this.getScene().getRenderId();
                 return this._worldMatrix;
             }

File diff suppressed because it is too large
+ 1163 - 1163
dist/preview release/babylon.module.d.ts


File diff suppressed because it is too large
+ 30 - 30
dist/preview release/babylon.noworker.js


+ 1 - 1
src/Mesh/babylon.abstractMesh.ts

@@ -987,7 +987,7 @@
                 return this._worldMatrix;
             }
 
-            if (!force && ((this._currentRenderId === this.getScene().getRenderId() && this.isSynchronized(true)))) {
+            if (!force && this.isSynchronized(true)) {
                 this._currentRenderId = this.getScene().getRenderId();
                 return this._worldMatrix;
             }