Fixing cachedGroup to be render again when primitive just got disposed
@@ -525,6 +525,10 @@
}
+ public _setCacheGroupDirty() {
+ this._cacheGroupDirty = true;
+ }
+
private _updateTransparentData() {
this.owner._addUpdateTransparentDataCount(1);
@@ -403,6 +403,10 @@
return false;
+ if (this.renderGroup) {
+ this.renderGroup._setCacheGroupDirty();
if (this._transparentPrimitiveInfo) {
this.renderGroup._renderableData.removeTransparentPrimitiveInfo(this._transparentPrimitiveInfo);
this._transparentPrimitiveInfo = null;