mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
set _renderComponent is null in mask disable (#2961)
This commit is contained in:
@@ -375,6 +375,7 @@ let Mask = cc.Class({
|
||||
},
|
||||
|
||||
onDisable () {
|
||||
this._super();
|
||||
this.node._renderFlag &= ~(RenderFlow.FLAG_POST_RENDER | RenderFlow.FLAG_POST_UPDATE_RENDER_DATA);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user