Vidka.Core.EditorLogic.AddUndableAction_andFireRedo C# (CSharp) Method

AddUndableAction_andFireRedo() public method

public AddUndableAction_andFireRedo ( Vidka.Core.UndoableAction action ) : void
action Vidka.Core.UndoableAction
return void
        public void AddUndableAction_andFireRedo(UndoableAction action)
        {
            undoStack.Push(action);
            if (redoStack.Any())
                cxzxc("----------");
            redoStack.Clear();

            ___UiTransactionBegin();
            action.Redo();
            if (action.PostAction != null)
                action.PostAction();
            SetFileChanged(true);
            ___Ui_stateChanged();
            ___UiTransactionEnd();
        }
EditorLogic