forked from patriciogonzalezvivo/glslViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
40 lines (35 loc) · 1.16 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"""
A Blender addon to integrate GlslViewer as a CustomRenderEngine
"""
bl_info = {
"name" : "glslViewer",
"author" : "Patricio Gonzalez Vivo",
"description" : "A Blender addon to integrate GlslViewer as a CustomRenderEngine",
"blender" : (2, 80, 0),
"version" : (3, 2, 2),
"location" : "",
"warning" : "",
"category" : "Generic"
}
import importlib
from .scripts import developer_utility
importlib.reload(developer_utility)
modules = developer_utility.setup_addon_modules(
__path__, __name__, "bpy" in locals()
)
from .scripts.gv_render_engine import register_render_engine, unregister_render_engine
from .scripts.gv_operators import register_operators, unregister_operators
from .scripts.gv_render_ui import register_render_ui, unregister_render_ui
from .scripts.gv_properties import register_properties, unregister_properties
def register():
# register_addon_preferences()
register_render_engine()
register_operators()
register_render_ui()
register_properties()
def unregister():
unregister_render_ui()
unregister_operators()
unregister_render_engine()
unregister_properties()
# unregister_addon_preferences()