public static void endRotate() { int lastI = actionList.Count - 1; GUIAction action = actionList[lastI]; action.undo(); actionList.RemoveAt(lastI); }
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(); } }