-
Notifications
You must be signed in to change notification settings - Fork 42
/
__init__.py
47 lines (40 loc) · 1.34 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
#----------------------------------------------------------
# File __init__.py
#----------------------------------------------------------
# Addon info
bl_info = {
"name": "Modeling Cloth",
"author": "Rich Colburn, email: [email protected]",
"version": (1, 0),
"blender": (2, 80, 0),
"location": "View3D > Extended Tools > Modeling Cloth",
"description": "Maintains the surface area of an object so it behaves like cloth",
"warning": "Your future self is planning to travel back in time to kill you",
"wiki_url": "",
"category": '3D View'}
if "bpy" in locals():
import imp
imp.reload(ModelingCloth28)
#imp.reload(ModelingCloth)
#imp.reload(SurfaceFollow)
#imp.reload(UVShape)
#imp.reload(DynamicTensionMap)
print("Reloaded Modeling Cloth")
else:
from . import ModelingCloth28#, SurfaceFollow, UVShape, DynamicTensionMap
#from . import ModelingCloth
print("Imported Modeling Cloth")
def register():
ModelingCloth28.register()
#ModelingCloth.register()
#SurfaceFollow.register()
#UVShape.register()
#DynamicTensionMap.register()
def unregister():
ModelingCloth28.unregister()
#ModelingCloth.unregister()
#SurfaceFollow.unregister()
#UVShape.unregister()
#DynamicTensionMap.unregister()
if __name__ == "__main__":
register()