-
Notifications
You must be signed in to change notification settings - Fork 6
/
__init__.py
53 lines (45 loc) · 1.14 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
41
42
43
44
45
46
47
48
49
50
51
52
53
bl_info = {
"name": "Terasology Shapes",
"author": "Michael Pollind",
"blender": (2, 80, 0),
"location": "Object",
"description": "A tool for creating Terasology block shapes.",
"warning": "",
"wiki_url": "",
"category": "Object",
}
from bpy.props import (
EnumProperty, PointerProperty,
StringProperty, BoolProperty,
IntProperty, FloatProperty, FloatVectorProperty
)
from bpy.types import (
Panel, WindowManager, PropertyGroup,
AddonPreferences, Menu
)
from bpy.utils import previews
import os
if "bpy" in locals():
import importlib
importlib.reload(shapes_ui)
importlib.reload(shapes_operator)
importlib.reload(properties)
importlib.reload(vieport)
else:
import bpy
from . import shapes_ui
from . import shapes_operator
from . import properties
from . import vieport
def register():
shapes_ui.register()
shapes_operator.register()
properties.register()
vieport.register()
def unregister():
shapes_ui.unregister()
shapes_operator.unregister()
properties.unregister()
vieport.unregister()
if __name__ == '__main__':
register()