Przeglądaj źródła

tiny improvement

David Catuhe 7 lat temu
rodzic
commit
7e09d1a00f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/babylon.node.ts

+ 1 - 1
src/babylon.node.ts

@@ -315,7 +315,7 @@
          * @returns a Matrix
          */
         public getWorldMatrix(): Matrix {
-            if (this._currentRenderId !== this.getScene().getRenderId()) {
+            if (this._currentRenderId !== this._scene.getRenderId()) {
                 this.computeWorldMatrix();
             }
             return this._worldMatrix;