David Catuhe 9 anni fa
parent
commit
7450277d08

File diff suppressed because it is too large
+ 1427 - 1427
dist/preview release/babylon.d.ts


File diff suppressed because it is too large
+ 2 - 2
dist/preview release/babylon.js


+ 1 - 1
dist/preview release/babylon.max.js

@@ -41768,8 +41768,8 @@ var BABYLON;
                     group.owner._registerTrackedNode(this);
                 }
             }
+            this._renderGroup = this.traverseUp(function (p) { return p instanceof BABYLON.Group2D && p.isRenderableGroup; });
             if (this._parent) {
-                this._renderGroup = this.parent.traverseUp(function (p) { return p instanceof BABYLON.Group2D && p.isRenderableGroup; });
                 this._parentLayoutDirty();
             }
             // Make sure the prim is in the dirtyList if it should be

File diff suppressed because it is too large
+ 2 - 2
dist/preview release/babylon.noworker.js


+ 1 - 1
src/Canvas2d/babylon.prim2dBase.js

@@ -2563,8 +2563,8 @@ var BABYLON;
                     group.owner._registerTrackedNode(this);
                 }
             }
+            this._renderGroup = this.traverseUp(function (p) { return p instanceof BABYLON.Group2D && p.isRenderableGroup; });
             if (this._parent) {
-                this._renderGroup = this.parent.traverseUp(function (p) { return p instanceof BABYLON.Group2D && p.isRenderableGroup; });
                 this._parentLayoutDirty();
             }
             // Make sure the prim is in the dirtyList if it should be