浏览代码

Fixing camera sync bug

David Catuhe 11 年之前
父节点
当前提交
d1339a5e79
共有 2 个文件被更改,包括 2 次插入2 次删除
  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;
         }
 

文件差异内容过多而无法显示
+ 1 - 1
babylon.1.8.5.js