Godot_bridge/addon/operators/__init__.py

18 lines
395 B
Python
Raw Normal View History

2023-03-29 10:43:53 +00:00
from .readthedocs import KH_OT_readthedocs
from .export2godot import KH_OT_export2godot
classes = (
2023-03-29 10:43:53 +00:00
KH_OT_readthedocs,
KH_OT_export2godot
)
2023-03-29 10:43:53 +00:00
def register_operators():
2023-03-29 10:43:53 +00:00
from bpy.utils import register_class
for cls in classes:
register_class(cls)
def unregister_operators():
2023-03-29 10:43:53 +00:00
from bpy.utils import unregister_class
for cls in classes:
unregister_class(cls)