Selaa lähdekoodia

Fixing camera sync bug

David Catuhe 11 vuotta sitten
vanhempi
commit
d1339a5e79
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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
             || !this.parent.getWorldMatrix
-            || (!this.hasNewParent() && this.parent.isSynchronized())) {
+            || this.isSynchronized()) {
             return this._computedViewMatrix;
         }
 

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 1 - 1
babylon.1.8.5.js