Merge pull request #2357 from FilamentGames/dev

Patch for destructive getLocalBounds in PIXI.DisplayObjectContainer
This commit is contained in:
Richard Davey 2016-02-26 15:21:17 +02:00
commit 6ba5515995

View file

@ -384,6 +384,11 @@ PIXI.DisplayObjectContainer.prototype.getLocalBounds = function()
var bounds = this.getBounds();
this.worldTransform = matrixCache;
for(var i=0,j=this.children.length; i<j; i++)
{
this.children[i].updateTransform();
}
return bounds;
};