cgp_maya_utils.decoratorsΒΆ

maya decorators - also usable as contexts

Classes

DisableAutoKey() decorator that disable animation automatic keying and set it back to its original state
DisableViewport() decorator that disable viewport drawing and reactivate it
KeepCurrentFrame() decorator that force the current frame to remain the same
KeepCurrentFrameRange() decorator that force the current frame range to remain the same
KeepCurrentSelection() decorator that force the current selection to remain the same
NamespaceContext([contextNamespace]) decorator that force the script to be executed in the context of a namespace and set the current namespace back to the previous one
UndoChunk([name]) decorator that encapsulate the script into its own undo chunk