-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
40 lines (26 loc) · 818 Bytes
/
__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
import bpy
from . import texture, align, _misc, importing
bl_info = {
"name": "Meshroom Tools",
"category": "Object",
"author": "Stefan Wendling",
"version": (1, 0, 0),
"blender": (2, 80, 0),
}
def register():
from bpy.utils import register_class
classes = []
classes.extend(importing.get_to_register())
classes.extend(texture.get_to_register())
classes.extend(align.get_to_register())
for cls in (classes):
register_class(cls)
_misc.properties.initialize_props()
def unregister():
from bpy.utils import unregister_class
classes = []
classes.extend(importing.get_to_register())
classes.extend(texture.get_to_register())
classes.extend(align.get_to_register())
for cls in reversed(classes):
unregister_class(cls)