Przeglądaj źródła

Fixing camera sync bug

David Catuhe 11 lat temu
rodzic
commit
d1339a5e79
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      Babylon/Cameras/babylon.camera.js
  2. 1 1
      babylon.1.8.5.js

+ 1 - 1
Babylon/Cameras/babylon.camera.js

@@ -271,7 +271,7 @@ var BABYLON = BABYLON || {};
 
 
         if (!this.parent
         if (!this.parent
             || !this.parent.getWorldMatrix
             || !this.parent.getWorldMatrix
-            || (!this.hasNewParent() && this.parent.isSynchronized())) {
+            || this.isSynchronized()) {
             return this._computedViewMatrix;
             return this._computedViewMatrix;
         }
         }
 
 

Plik diff jest za duży
+ 1 - 1
babylon.1.8.5.js