trigger.core.decorators

Attributes

LOG

logger

Functions

keepframe(func)

Keep the current slider time.

keepselection(func)

Decorator method to keep the current selection. Useful where

logerror(func)

Save exceptions into log file.

suppress_warnings(func)

Suppress scripteditor warnings.

tracktime(func)

Tracks time for the given function.

undo(func)

Puts the wrapped func into a single Maya Undo action, then

windowsOff(func)

Turn off the editors.

Module Contents

keepframe(func)

Keep the current slider time. Useful where the wrapped method messes with the current time

keepselection(func)

Decorator method to keep the current selection. Useful where the wrapped method messes with the current selection

logerror(func)

Save exceptions into log file.

suppress_warnings(func)

Suppress scripteditor warnings.

tracktime(func)

Tracks time for the given function.

undo(func)

Puts the wrapped func into a single Maya Undo action, then undoes it when the function enters the finally: block

windowsOff(func)

Turn off the editors.

LOG
logger