From 4802d6516ba5ba60076085c51683e9b4d6a92066 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 2 Aug 2010 14:35:58 +0000 Subject: fix for registering scripts. - mesh_surface_sketch.py - render_renderfarmfi.py - space_view3d_align_tools.py - object_cloud_gen.py also move bl_addon_info to the top for faster parsing. --- add_mesh_twisted_torus.py | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'add_mesh_twisted_torus.py') diff --git a/add_mesh_twisted_torus.py b/add_mesh_twisted_torus.py index 525832ff..f27ff25f 100644 --- a/add_mesh_twisted_torus.py +++ b/add_mesh_twisted_torus.py @@ -20,29 +20,26 @@ # # ***** END GPL LICENCE BLOCK ***** -""" +bl_addon_info = { + "name": "Add Mesh: Twisted Torus", + "author": "Paulo_Gomes", + "version": "0.11", + "blender": (2, 5, 3), + "location": "View3D > Add > Mesh ", + "description": "Adds a mesh Twisted Torus to the Add Mesh menu", + "warning": "", + "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Add_Mesh/Add_Twisted_Torus", + "tracker_url": "https://projects.blender.org/tracker/index.php?func=detail&aid=21622&group_id=153&atid=469", + "category": "Add Mesh"} +""" Usage: * Launch from Add Mesh menu * Modify parameters as desired or keep defaults - """ -bl_addon_info = { - 'name': 'Add Mesh: Twisted Torus', - 'author': 'Paulo_Gomes', - 'version': '0.11', - 'blender': (2, 5, 3), - 'location': 'View3D > Add > Mesh ', - 'description': 'Adds a mesh Twisted Torus to the Add Mesh menu', - 'warning': '', # used for warning icon and text in addons panel - 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/Add_Mesh/Add_Twisted_Torus', - 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ - 'func=detail&aid=21622&group_id=153&atid=469', - 'category': 'Add Mesh'} import bpy from bpy.props import * -- cgit v1.2.3