Trees | Indices | Help |
|
---|
|
object --+ | UndoRecorder
Utility class allowing to undo and redo operations on the python command stack so far to be undone and redone separately and independently of maya's undo queue.
It can be used to define sections that need to be undone afterwards, for example to reset a scene to its original state after it was prepared for export.
Use the startRecording method to record all future undoable operations onto the stack. stopRecording will finalize the operation, allowing the undo and redo methods to be used.
If you never call startRecording, the instance does not do anything. If you call startRecording and stopRecording but do not call undo, it will integrate itself transparently with the default undo queue.
|
|||
|
|||
|
|||
Inherited from |
|||
Interface | |||
---|---|---|---|
|
|||
|
|||
|
|||
|
|||
Internal | |||
|
|||
|
|
|||
_is_recording = False hash(x) |
|||
_disable_undo = False hash(x) |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Notes:
|
Note: this method may only be called once, subsequent calls have no effect |
Notes:
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 19 18:00:18 2011 | http://epydoc.sourceforge.net |