Operator Manager¶
Warning
This class should not be used directly, but should be accessed by om
Manage operators.
This module contain class for managing operator that will be registered in blender, in future will be used also for drawing the UI.
Usage:
Import the module and use the symbol ‘om’.
‘om’ is a static global instance of OperatorManger
.
Then call ‘addOperator(YourOperator)’.
Example:
from . import make_islands, templates, utils, operator_manager
class MyOperator(templates.UvOperatorTemplate):
# operator logic
_om = operator_manager.om
_om.addOperator(MyOperator)