Fixed stage ref bug

This commit is contained in:
Mat Groves 2014-01-05 17:34:23 +00:00
parent 29eb95ee44
commit 94e5faa2f1
4 changed files with 134 additions and 3 deletions

View file

@ -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)