2023-03-29 10:43:53 +00:00
|
|
|
import bpy
|
|
|
|
|
2024-05-18 11:09:47 +00:00
|
|
|
from .preferences import GB_Prefs
|
2023-03-29 10:43:53 +00:00
|
|
|
|
|
|
|
classes = (
|
2024-05-18 11:09:47 +00:00
|
|
|
GB_Prefs,
|
2023-03-29 10:43:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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)
|