skinning.utils.decorator module¶
-
skinning.utils.decorator.
memoize
(func)¶ The memoize decorator will cache the result of a function and store it in a cache dictionary using its arguments and keywords arguments as a key. The cache can be cleared by calling the cache_clear function on the decorated function.
-
skinning.utils.decorator.
preserve_selection
(func)¶ The preserve selection will store the maya selection before the function is ran and restore it once the function has executed.