소스 검색

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;
     }