diff --git a/src/core/display/Container.js b/src/core/display/Container.js index fa978cd..6c7049c 100644 --- a/src/core/display/Container.js +++ b/src/core/display/Container.js @@ -66,6 +66,7 @@ // ensure a transform will be recalculated.. this.transform._parentID = -1; + this._boundsID++; this.children.push(child); diff --git a/src/core/display/Container.js b/src/core/display/Container.js index fa978cd..6c7049c 100644 --- a/src/core/display/Container.js +++ b/src/core/display/Container.js @@ -66,6 +66,7 @@ // ensure a transform will be recalculated.. this.transform._parentID = -1; + this._boundsID++; this.children.push(child); diff --git a/src/core/display/DisplayObject.js b/src/core/display/DisplayObject.js index d5a2448..f09c8ae 100644 --- a/src/core/display/DisplayObject.js +++ b/src/core/display/DisplayObject.js @@ -175,7 +175,6 @@ if (!this.parent) { this.parent = this._tempDisplayObjectParent; - this.parent.transform._worldID++; this.updateTransform(); this.parent = null; }