-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path__init__.py
57 lines (51 loc) · 1.65 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
54
55
56
57
bl_info = {
"name": "Horizon Games Toolkit",
"author": "Tomasz Dysinski",
"version": (1, 1, 1),
"blender": (2, 91, 0),
"location": "Properties > Scene > Horizon Tools",
"description": "Manages custom geometry for centroid based vertex effects during GLTF Export",
"warning": "",
"doc_url": "",
"category": "Scene",
}
import importlib
if "bpy" in locals():
importlib.reload(customExport)
importlib.reload(bakeAmbientOcclusionToVertexColor)
importlib.reload(squashAttributes)
importlib.reload(copyVertexColorChannels)
importlib.reload(applyModifiers)
importlib.reload(generateCentroidShapeKeys)
importlib.reload(sceneTools)
importlib.reload(objectDataTools)
else:
from . import customExport
from . import bakeAmbientOcclusionToVertexColor
from . import squashAttributes
from . import copyVertexColorChannels
from . import applyModifiers
from . import generateCentroidShapeKeys
from . import sceneTools
from . import objectDataTools
import bpy
def register():
customExport.register()
bakeAmbientOcclusionToVertexColor.register()
squashAttributes.register()
copyVertexColorChannels.register()
applyModifiers.register()
generateCentroidShapeKeys.register()
sceneTools.register()
objectDataTools.register()
def unregister():
customExport.unregister()
bakeAmbientOcclusionToVertexColor.unregister()
squashAttributes.unregister()
copyVertexColorChannels.unregister()
applyModifiers.unregister()
generateCentroidShapeKeys.unregister()
sceneTools.unregister()
objectDataTools.unregister()
if __name__ == "__main__":
register()