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:
@@ -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
|
||||
"""
|
||||
Reference in New Issue
Block a user