Fixed stage ref bug
This commit is contained in:
parent
29eb95ee44
commit
94e5faa2f1
4 changed files with 134 additions and 3 deletions
|
@ -1440,8 +1440,9 @@ PIXI.DisplayObjectContainer.prototype.removeStageReference = function()
|
|||
var child = this.children[i];
|
||||
if(child.interactive)this.stage.dirty = true;
|
||||
child.removeStageReference();
|
||||
child.stage = null;
|
||||
}
|
||||
|
||||
this.stage = null;
|
||||
};
|
||||
|
||||
PIXI.DisplayObjectContainer.prototype._renderWebGL = function(renderSession)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue