-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
50 lines (43 loc) · 1.38 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
bl_info = {
"name": "Ucup Etc Tools",
"author": "Yusuf Umar, Przemysław Bągard",
"version": (0, 1, 1),
"blender": (2, 80, 0),
"location": "View 3D > Tool Shelf > Ucup Etc Tools",
"description": "Miscellaneous tools for posing and stuff",
"wiki_url": "https://github.com/ucupumar/ucup-etc-tools",
"category": "Mesh",
}
if "bpy" in locals():
import imp
imp.reload(mirror_tools)
imp.reload(pose_tools)
imp.reload(mesh_tools)
imp.reload(vg_tools)
imp.reload(outline_tools)
imp.reload(ui)
else:
from . import mirror_tools, pose_tools, mesh_tools, vg_tools, outline_tools, ui
import bpy
def register():
# Register classes
mirror_tools.register()
pose_tools.register()
mesh_tools.register()
vg_tools.register()
outline_tools.register()
ui.register()
#print('INFO: ' + bl_info['name'] + ' ' + common.get_current_version_str() + ' is registered!')
print('INFO: ' + bl_info['name'] + ' is registered!')
def unregister():
# Remove classes
mirror_tools.unregister()
pose_tools.unregister()
mesh_tools.unregister()
vg_tools.unregister()
outline_tools.unregister()
ui.unregister()
#print('INFO: ' + bl_info['name'] + ' ' + common.get_current_version_str() + ' is unregistered!')
print('INFO: ' + bl_info['name'] + ' is unregistered!')
if __name__ == "__main__":
register()