diff --git a/src/extras/cacheAsBitmap.js b/src/extras/cacheAsBitmap.js index 2dea5c7..37a5367 100644 --- a/src/extras/cacheAsBitmap.js +++ b/src/extras/cacheAsBitmap.js @@ -270,7 +270,6 @@ renderer.context = cachedRenderTarget; this.renderCanvas = this._renderCachedCanvas; - this.updateTransform = this.displayObjectUpdateTransform; this.getBounds = this._getCachedBounds; this._mask = null; @@ -283,6 +282,7 @@ cachedSprite.anchor.y = -( bounds.y / bounds.height ); this.updateTransform(); + this.updateTransform = this.displayObjectUpdateTransform; this._cacheData.sprite = cachedSprite;