Browse Source

Fixing camera sync bug

David Catuhe 11 năm trước cách đây
mục cha
commit
d1339a5e79
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;
         }
 

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
babylon.1.8.5.js