diff options
author | CoDEmanX <codemanx@gmx.de> | 2014-02-04 06:05:05 +0400 |
---|---|---|
committer | CoDEmanX <codemanx@gmx.de> | 2014-02-04 06:05:05 +0400 |
commit | 049a5a86edcf78b070b73b141b657825145ae9a1 (patch) | |
tree | 6e5edf67d7974e0ad8beb209c57fd48c456ecfbe /object_add_chain.py | |
parent | d9fcbd06018165cc2cfca0673c7c2db44b04a833 (diff) |
Clean-up: Updated bl_info['tracker_url'] to developer.blender.org, some minor other edits
Diffstat (limited to 'object_add_chain.py')
-rw-r--r-- | object_add_chain.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/object_add_chain.py b/object_add_chain.py index fc5f3bd2..336346e3 100644 --- a/object_add_chain.py +++ b/object_add_chain.py @@ -24,10 +24,9 @@ bl_info = { "location": "View3D > Add > Mesh", "description": "Adds Chain with curve guide for easy creation", "warning": "", - "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/"\ + "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/" "Scripts/Object/Add_Chain", - "tracker_url": "https://projects.blender.org/tracker/index.php?"\ - "func=detail&aid=22203", + "tracker_url": "https://developer.blender.org/T22203", "category": "Object"} import bpy @@ -38,7 +37,7 @@ def Add_Chain(): bpy.ops.object.add(type='EMPTY', view_align=False, enter_editmode=False, - location=(0, 0, 0), + location=(0, 0, 0), rotation=(0, 0, 0), ) @@ -71,10 +70,10 @@ def Add_Chain(): ##Positions Torus primitive to center of scene bpy.context.active_object.location = 0.0, 0.0, 0.0 - + ##Reseting Torus rotation in case of 'Align to view' option enabled bpy.context.active_object.rotation_euler = 0.0, 0.0, 0.0 - + ##Changes Torus name to chain adds variable tor tor = bpy.context.object @@ -89,7 +88,7 @@ def Add_Chain(): ##Smooths tor bpy.ops.object.shade_smooth() - ##Select curv + ##Select curv sce = bpy.context.scene sce.objects.active = curv |