David Catuhe 9 年之前
父節點
當前提交
7450277d08

文件差異過大導致無法顯示
+ 1427 - 1427
dist/preview release/babylon.d.ts


文件差異過大導致無法顯示
+ 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

文件差異過大導致無法顯示
+ 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