public override void updateAction(UndoRedoAction action) { UndoRedoChangeDataAction curChangeDataAction = action as UndoRedoChangeDataAction; if (curChangeDataAction != null) { mNodeAfterChanges = curChangeDataAction.mNodeAfterChanges; } }
public override bool affectsSameNode(UndoRedoAction action) { UndoRedoChangeDataAction curChangeDataAction = action as UndoRedoChangeDataAction; if (curChangeDataAction != null) { if (curChangeDataAction.mNode == mNode) { return(true); } } return(false); }