Wrap UndoPush with python, needed for apricot, so changes made be scripts can have undo's as well, otherwise users undo and loose changes the script made.

This commit is contained in:
2008-02-29 20:45:57 +00:00
parent 9d05090a86
commit a577bb9fc8
2 changed files with 20 additions and 2 deletions

View File

@@ -240,3 +240,9 @@ def Quit ():
upon exiting) when this function is called, so the data in Blender isn't
lost.
"""
def UndoPush (message):
"""
Sets an undo at the current state.
@param message: Message that appiers in the undo menu
@type message: string
"""