trigger.core.decorators ======================= .. py:module:: trigger.core.decorators Attributes ---------- .. autoapisummary:: trigger.core.decorators.LOG trigger.core.decorators.logger Functions --------- .. autoapisummary:: trigger.core.decorators.keepframe trigger.core.decorators.keepselection trigger.core.decorators.logerror trigger.core.decorators.suppress_warnings trigger.core.decorators.tracktime trigger.core.decorators.undo trigger.core.decorators.windowsOff Module Contents --------------- .. py:function:: keepframe(func) Keep the current slider time. Useful where the wrapped method messes with the current time .. py:function:: keepselection(func) Decorator method to keep the current selection. Useful where the wrapped method messes with the current selection .. py:function:: logerror(func) Save exceptions into log file. .. py:function:: suppress_warnings(func) Suppress scripteditor warnings. .. py:function:: tracktime(func) Tracks time for the given function. .. py:function:: undo(func) Puts the wrapped `func` into a single Maya Undo action, then undoes it when the function enters the finally: block .. py:function:: windowsOff(func) Turn off the editors. .. py:data:: LOG .. py:data:: logger