-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
47 lines (37 loc) · 1.08 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
bl_info = {
"name": "Armins Toolbox",
"description": "Mix of tools for Rigging and Animation",
"author": "Armin Halac",
"version": (1, 0),
"blender": (3, 5, 0),
"warning": "In development, things may (and will) change.",
"location": "",
# "doc_url": "{BLENDER_MANUAL_URL}/addons/animation/pose_library.html",
"category": "Animation",
}
if "bpy" in locals():
import importlib
importlib.reload(preferences)
importlib.reload(log)
importlib.reload(utils)
utils.bl_class_registry.BlClassRegistry.cleanup()
importlib.reload(op)
importlib.reload(ui)
importlib.reload(properties)
else:
import bpy
from . import preferences
from . import log
from . import utils
from . import op
from . import ui
from . import properties
import bpy
def register():
utils.bl_class_registry.BlClassRegistry.register()
properties.init_props(bpy.types.Scene)
def unregister():
properties.clear_props(bpy.types.Scene)
utils.bl_class_registry.BlClassRegistry.unregister()
if __name__ == "__main__":
register()