Browse Source

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe 8 years ago
parent
commit
da03416ef0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      canvas2D/src/Engine/babylon.canvas2d.ts

+ 2 - 2
canvas2D/src/Engine/babylon.canvas2d.ts

@@ -1574,10 +1574,10 @@
                 this._renderObservable.notifyObservers(this, Canvas2D.RENDEROBSERVABLE_PRE);
             }
 
-            this._updateCanvasState(false);
-
             this._updateTrackedNodes();
 
+            this._updateCanvasState(false);
+
             // Nothing to do is the Canvas is not visible
             if (this.isVisible === false) {
                 return;