Godot_bridge/addon/operators/__init__.py

19 lines
No EOL
407 B
Python

import bpy
from .readthedocs import GB_OT_readthedocs
from .export2godot import GB_OT_export2godot
classes = (
GB_OT_readthedocs,
GB_OT_export2godot,
)
def register_operators():
from bpy.utils import register_class
for cls in classes:
register_class(cls)
def unregister_operators():
from bpy.utils import unregister_class
for cls in classes:
unregister_class(cls)