mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
fixed node undo/redo (#2826)
This commit is contained in:
@@ -2942,6 +2942,7 @@ var Node = cc.Class({
|
||||
this._renderFlag |= RenderFlow.FLAG_TRANSFORM;
|
||||
if (this._renderComponent) {
|
||||
this._renderFlag |= RenderFlow.FLAG_COLOR;
|
||||
this._renderComponent.markForUpdateRenderData(true);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user