diff --git a/bin/pixi.js b/bin/pixi.js index 4e13fde..f8d017b 100644 --- a/bin/pixi.js +++ b/bin/pixi.js @@ -21379,6 +21379,11 @@ */ DisplayObject.prototype._renderCachedWebGL = function(renderer) { + if (!this.visible || this.worldAlpha <= 0) + { + return; + } + this._initCachedDisplayObject( renderer ); this._cachedSprite.worldAlpha = this.worldAlpha; @@ -21472,6 +21477,11 @@ */ DisplayObject.prototype._renderCachedCanvas = function(renderer) { + if (!this.visible || this.worldAlpha <= 0) + { + return; + } + this._initCachedDisplayObjectCanvas( renderer ); this._cachedSprite.worldAlpha = this.worldAlpha;