diff options
Diffstat (limited to 'mesh_tissue/__init__.py')
-rw-r--r-- | mesh_tissue/__init__.py | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/mesh_tissue/__init__.py b/mesh_tissue/__init__.py index 7d8b0078..bef99625 100644 --- a/mesh_tissue/__init__.py +++ b/mesh_tissue/__init__.py @@ -16,8 +16,8 @@ # # ##### END GPL LICENSE BLOCK ##### -# --------------------------------- TISSUE ------------------------------------# -#-------------------------------- version 0.3 ---------------------------------# +# --------------------------------- TISSUE ----------------------------------- # +# ------------------------------- version 0.3 -------------------------------- # # # # Creates duplicates of selected mesh to active morphing the shape according # # to target faces. # @@ -28,7 +28,20 @@ # http://www.co-de-it.com/ # # http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Mesh/Tissue # # # -################################################################################ +# ############################################################################ # + +bl_info = { + "name": "Tissue", + "author": "Alessandro Zomparelli (Co-de-iT)", + "version": (0, 3, 3), + "blender": (2, 7, 9), + "location": "", + "description": "Tools for Computational Design", + "warning": "", + "wiki_url": "https://wiki.blender.org/index.php/Extensions:2.6/" + "Py/Scripts/Mesh/Tissue", + "tracker_url": "https://plus.google.com/u/0/+AlessandroZomparelli/", + "category": "Mesh"} if "bpy" in locals(): @@ -47,28 +60,14 @@ else: from . import uv_to_mesh import bpy -from mathutils import Vector -#bpy.types.Object.vertexgroup = bpy.props.StringProperty() -#bpy.types.Panel.vertexgroup = bpy.props.StringProperty() - -bl_info = { - "name": "Tissue", - "author": "Alessandro Zomparelli (Co-de-iT)", - "version": (0, 3, 2), - "blender": (2, 7, 9), - "location": "", - "description": "Tools for Computational Design", - "warning": "", - "wiki_url": ("http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/M" - "esh/Tissue"), - "tracker_url": "https://plus.google.com/u/0/+AlessandroZomparelli/", - "category": "Mesh"} +from bpy.props import PointerProperty def register(): bpy.utils.register_module(__name__) - bpy.types.Object.tissue_tessellate = bpy.props.PointerProperty( - type=tessellate_numpy.tissue_tessellate_prop) + bpy.types.Object.tissue_tessellate = PointerProperty( + type=tessellate_numpy.tissue_tessellate_prop + ) def unregister(): @@ -78,6 +77,8 @@ def unregister(): lattice.unregister() uv_to_mesh.unregister() + del bpy.types.Object.tissue_tessellate + if __name__ == "__main__": register() |