fixed node undo/redo (#2826)

This commit is contained in:
yinkaile
2018-06-07 22:59:03 +08:00
committed by pandamicro
parent 542b9590ec
commit 02b39bb853
+1
View File
@@ -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);
}
},