Explorar o código

Fixing camera sync bug

David Catuhe %!s(int64=11) %!d(string=hai) anos
pai
achega
d1339a5e79
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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;
         }
 

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
babylon.1.8.5.js