Godot_bridge/addon/operators/__init__.py

19 lines
407 B
Python
Raw Normal View History

2024-05-18 11:09:47 +00:00
import bpy
from .readthedocs import GB_OT_readthedocs
from .export2godot import GB_OT_export2godot
classes = (
2024-05-18 11:09:47 +00:00
GB_OT_readthedocs,
GB_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)