David Catuhe il y a 9 ans
Parent
commit
7450277d08

Fichier diff supprimé car celui-ci est trop grand
+ 1427 - 1427
dist/preview release/babylon.d.ts


Fichier diff supprimé car celui-ci est trop grand
+ 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);
                     group.owner._registerTrackedNode(this);
                 }
                 }
             }
             }
+            this._renderGroup = this.traverseUp(function (p) { return p instanceof BABYLON.Group2D && p.isRenderableGroup; });
             if (this._parent) {
             if (this._parent) {
-                this._renderGroup = this.parent.traverseUp(function (p) { return p instanceof BABYLON.Group2D && p.isRenderableGroup; });
                 this._parentLayoutDirty();
                 this._parentLayoutDirty();
             }
             }
             // Make sure the prim is in the dirtyList if it should be
             // Make sure the prim is in the dirtyList if it should be

Fichier diff supprimé car celui-ci est trop grand
+ 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);
                     group.owner._registerTrackedNode(this);
                 }
                 }
             }
             }
+            this._renderGroup = this.traverseUp(function (p) { return p instanceof BABYLON.Group2D && p.isRenderableGroup; });
             if (this._parent) {
             if (this._parent) {
-                this._renderGroup = this.parent.traverseUp(function (p) { return p instanceof BABYLON.Group2D && p.isRenderableGroup; });
                 this._parentLayoutDirty();
                 this._parentLayoutDirty();
             }
             }
             // Make sure the prim is in the dirtyList if it should be
             // Make sure the prim is in the dirtyList if it should be