From b5cd123b04e6c46642b3e5617c8d354eb3eac744 Mon Sep 17 00:00:00 2001 From: Luca Bonavita Date: Tue, 13 Jul 2010 14:08:29 +0000 Subject: == trunk scripts confirming == - every script is now (2,5,3) - added warning field in bl_addon_info so every dev knows about this: when "warning" field is not empty, a warning icon appears and text alerts users about a buggy script (this is used during development, released scripts should must have this empty of course) - formatted scripts info like this - GPL - docstring - bl_addon_info - imports so that the actual script starts after the bl_addon_info dict - removed old 2.4x cruft like __url__, __bpydoc__, __author__ etc, not needed anymore (when the case integrated info with bl_addon_info and in case of one email meta just put it in the GPL) - next commits I plan to do contrib scripts and conform io scripts naming --- add_curve_aceous_galore.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'add_curve_aceous_galore.py') diff --git a/add_curve_aceous_galore.py b/add_curve_aceous_galore.py index a4ce149e..9fe59f95 100644 --- a/add_curve_aceous_galore.py +++ b/add_curve_aceous_galore.py @@ -15,18 +15,23 @@ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # ##### END GPL LICENSE BLOCK ##### + + bl_addon_info = { 'name': 'Add Curve: Curveaceous Galore!', 'author': 'Jimmy Hazevoet, testscreenings', 'version': '0.1', - 'blender': (2, 5, 2), + 'blender': (2, 5, 3), 'location': 'Add Curve menu', 'description': 'adds many types of curves', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/Curve/Curves_Galore', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ 'func=detail&aid=22404&group_id=153&atid=469', 'category': 'Add Curve'} + + ##------------------------------------------------------------ #### import modules import bpy @@ -1148,4 +1153,4 @@ def unregister(): bpy.types.INFO_MT_curve_add.remove(Curveaceous_galore_button) if __name__ == "__main__": - register() \ No newline at end of file + register() -- cgit v1.2.3