浏览代码

make sure that freewm will unset isDirty

David Catuhe 5 年之前
父节点
当前提交
89b8c2bfb6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Meshes/transformNode.ts

+ 1 - 0
src/Meshes/transformNode.ts

@@ -455,6 +455,7 @@ export class TransformNode extends Node {
             this._isWorldMatrixFrozen = false;  // no guarantee world is not already frozen, switch off temporarily
             this.computeWorldMatrix(true);
         }
+        this._isDirty = false;
         this._isWorldMatrixFrozen = true;
         return this;
     }