MUndo¶
-
class
MUndo
(func, *args, **kargs)¶ Bases:
object
Wraps a call to the given python function in MEL so it occupies a single undo slot.
Methods Summary
__call__
(…) <==> x(…)wrap
(func)Puts the wrapped func into a single Maya Undo action, then undoes it when the function enters the finally: block Methods Documentation
-
__call__
(...) <==> x(...)¶
-
static
wrap
(func)¶ Puts the wrapped func into a single Maya Undo action, then undoes it when the function enters the finally: block
-