diff --git a/src/core/display/Container.js b/src/core/display/Container.js index bee05d5..e3d5054 100644 --- a/src/core/display/Container.js +++ b/src/core/display/Container.js @@ -422,7 +422,7 @@ this._currentBounds = null; - return this.getBounds(); + return this.getBounds( math.Matrix.IDENTITY ); }; /** diff --git a/src/core/display/Container.js b/src/core/display/Container.js index bee05d5..e3d5054 100644 --- a/src/core/display/Container.js +++ b/src/core/display/Container.js @@ -422,7 +422,7 @@ this._currentBounds = null; - return this.getBounds(); + return this.getBounds( math.Matrix.IDENTITY ); }; /** diff --git a/src/extras/cacheAsBitmap.js b/src/extras/cacheAsBitmap.js index 421ffba..469849c 100644 --- a/src/extras/cacheAsBitmap.js +++ b/src/extras/cacheAsBitmap.js @@ -97,7 +97,6 @@ return; } - // first we flush anything left in the renderer (otherwise it would get rendered to the cached texture) renderer.currentRenderer.flush(); //this.filters= []; @@ -137,7 +136,7 @@ // set all properties to there original so we can render to a texture this.renderWebGL = this._originalRenderWebGL; - renderTexture.render(this, m, true); + renderTexture.render(this, m, true, true); // now restore the state be setting the new properties renderer.setRenderTarget(cachedRenderTarget);