diff --git a/src/core/textures/RenderTexture.js b/src/core/textures/RenderTexture.js index ee47963..e538dae 100644 --- a/src/core/textures/RenderTexture.js +++ b/src/core/textures/RenderTexture.js @@ -322,7 +322,7 @@ this.textureBuffer.clear(); } - + // this.textureBuffer. var context = this.textureBuffer.context; @@ -334,11 +334,11 @@ this.renderer.resolution = realResolution; - displayObject.worldTransform = cachedWt; - - // context.setTransform(1, 0, 0, 1, 0, 0); - // context.fillStyle ="#FF0000" -// context.fillRect(0, 0, 800, 600); + if(displayObject.worldTransform === wt) + { + // fixes cacheAsBitmap Happening during the above.. + displayObject.worldTransform = cachedWt; + } };