-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy path__init__.py
53 lines (45 loc) · 1.26 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
from . import operators_modal
from . import operators
from . import properties
from . import ui
from . import keymap
from bpy.props import *
bl_info = {
"name": "Abnormal",
"author": "Cody Winchester (codywinch)",
"version": (1, 1, 5),
"blender": (4, 0, 0),
"location": "3D View > N Panel/Header > BNPR Abnormal Tab",
"description": "BNPR Normal Editing Tools",
"warning": "",
"wiki_url": "",
"category": "3D View"
}
if "bpy" in locals():
import importlib
if "__init__" in locals():
importlib.reload(__init__)
if "ui" in locals():
importlib.reload(ui)
if "keymap" in locals():
importlib.reload(keymap)
if "properties" in locals():
importlib.reload(properties)
if "operators_modal" in locals():
importlib.reload(operators_modal)
if "operators" in locals():
importlib.reload(operators)
def register():
ui.register()
keymap.register()
properties.register()
operators_modal.register()
operators.register()
def unregister():
ui.unregister()
keymap.unregister()
properties.unregister()
operators_modal.unregister()
operators.unregister()
if __name__ == "__main__":
register()