Godot_bridge/addon/menus/__init__.py

17 lines
411 B
Python
Raw Normal View History

2024-05-18 11:09:47 +00:00
from .panel_main import GB_PT_panel_header, GB_PT_panel_parameters, GB_PT_panel_docs
classes = (
2024-05-18 11:09:47 +00:00
GB_PT_panel_header,
GB_PT_panel_parameters,
GB_PT_panel_docs,
)
def register_menus():
2023-03-29 10:43:53 +00:00
from bpy.utils import register_class
for cls in classes:
register_class(cls)
def unregister_menus():
2023-03-29 10:43:53 +00:00
from bpy.utils import unregister_class
for cls in classes:
unregister_class(cls)