Browse Source

Fixing camera sync bug

David Catuhe 11 years ago
parent
commit
d1339a5e79
2 changed files with 2 additions and 2 deletions
  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;
         }
 

File diff suppressed because it is too large
+ 1 - 1
babylon.1.8.5.js