Godot_bridge/addon/preferences/__init__.py

18 lines
No EOL
329 B
Python

import bpy
from .preferences import GB_Prefs
classes = (
GB_Prefs,
)
def register_preferences():
from bpy.utils import register_class
for cls in classes:
register_class(cls)
def unregister_preferences():
from bpy.utils import unregister_class
for cls in classes:
unregister_class(cls)