Godot_bridge/addon/operators/__init__.py

20 lines
No EOL
392 B
Python

import bpy
from .readthedocs import KH_OP_readthedocs
from .export2godot import KH_OP_export2godot
classes = (
KH_OP_readthedocs,
KH_OP_export2godot
)
def register_operators():
print(classes)
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)