Esempio n. 1
0
    public static void endRotate()
    {
        int lastI = actionList.Count - 1;

        GUIAction action = actionList[lastI];

        action.undo();
        actionList.RemoveAt(lastI);
    }
Esempio n. 2
0
    public static void endClip()
    {
        int lastI = actionList.Count - 1;

        GUIAction action = actionList[lastI];

        action.undo();
        actionList.RemoveAt(lastI);

        if (clipStack.Count > 0)
        {
            clipStack.Pop();
            localClipStack.Pop();
        }
    }