-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy path__init__.py
More file actions
43 lines (36 loc) · 1.17 KB
/
__init__.py
File metadata and controls
43 lines (36 loc) · 1.17 KB
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
#----------------------------------------------------------
# File __init__.py
#----------------------------------------------------------
# Addon info
bl_info = {
"name": "Modeling Cloth",
"author": "Rich Colburn, email: the3dadvantage@gmail.com",
"version": (1, 0),
"blender": (2, 78, 0),
"location": "View3D > Extended Tools > Modeling Cloth",
"description": "Maintains the surface area of an object so it behaves like cloth",
"warning": "There might be an angry rhinoceros behind you",
"wiki_url": "",
"category": '3D View'}
if "bpy" in locals():
import imp
imp.reload(ModelingCloth)
imp.reload(SurfaceFollow)
imp.reload(UVShape)
imp.reload(DynamicTensionMap)
print("Reloaded multifiles")
else:
from . import ModelingCloth, SurfaceFollow, UVShape, DynamicTensionMap
print("Imported multifiles")
def register():
ModelingCloth.register()
SurfaceFollow.register()
UVShape.register()
DynamicTensionMap.register()
def unregister():
ModelingCloth.unregister()
SurfaceFollow.unregister()
UVShape.unregister()
DynamicTensionMap.unregister()
if __name__ == "__main__":
register()