예제 #1
0
        public override void updateAction(UndoRedoAction action)
        {
            UndoRedoChangeDataAction curChangeDataAction = action as UndoRedoChangeDataAction;

            if (curChangeDataAction != null)
            {
                mNodeAfterChanges = curChangeDataAction.mNodeAfterChanges;
            }
        }
예제 #2
0
        public override bool affectsSameNode(UndoRedoAction action)
        {
            UndoRedoChangeDataAction curChangeDataAction = action as UndoRedoChangeDataAction;

            if (curChangeDataAction != null)
            {
                if (curChangeDataAction.mNode == mNode)
                {
                    return(true);
                }
            }
            return(false);
        }