-
Notifications
You must be signed in to change notification settings - Fork 1
/
__init__.py
42 lines (27 loc) · 1.17 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
bl_info = {
"name" : "Tidy Monkey",
"author" : "Muammar Yacoob",
"descrtion" : "Scene Organization Tool",
"blender" : (2, 90, 0),
"version" : (1, 2, 3),
"location" : "Tidy Monkey",
"warning" : "For the Export FBX to work, make sure you save the .blend file first",
"category" : "Scene Organization"
}
# https://panettonegames.com/
# http://www.youtube.com/channel/UC744mnjF1LOYrl_kFF4LDhg?sub_confirmation=1
from . tdmk_pt import *
from . tdmk_op import *
classes = (TITLE_PT_panel, ORGANIZE_PT_panel, CLEANUP_PT_panel, EXPORT_PT_panel, ORG_SELECTED_OT_operator, ORG_CENTER_OT_operator, BUTTS_OT_operator, ALIGN_OT_operator, REN_BONES_OT_operator, SELECT_SAME_OT_operator, CLEAR_MATS_OT_operator, CLEAN_TEX_OT_operator, GEN_ACTS_OT_operator, EXPORT_OT_operator, SHARE_OT_operator)
register, unregister = bpy.utils.register_classes_factory(classes)
# Deprecated
# def register():
# from bpy.utils import register_class
# for cls in classes:
# register_class(cls)
# def unregister():
# from bpy.utils import register_class
# for cls in reversed(classes):
# register_class(cls)
if __name__ == "__main__":
register()