[Bf-blender-cvs] [11ae06b] master: Update manual links in 'add object' py template.

Bastien Montagne noreply at git.blender.org
Wed Dec 28 14:26:13 CET 2016


Commit: 11ae06b0b7442d63904270e8b72266e5fa3519cf
Author: Bastien Montagne
Date:   Wed Dec 28 14:25:06 2016 +0100
Branches: master
https://developer.blender.org/rB11ae06b0b7442d63904270e8b72266e5fa3519cf

Update manual links in 'add object' py template.

Patch D2328 by @blendify, thanks.

===================================================================

M	release/scripts/templates_py/addon_add_object.py

===================================================================

diff --git a/release/scripts/templates_py/addon_add_object.py b/release/scripts/templates_py/addon_add_object.py
index 8e57d7e..d294838 100644
--- a/release/scripts/templates_py/addon_add_object.py
+++ b/release/scripts/templates_py/addon_add_object.py
@@ -69,9 +69,9 @@ def add_object_button(self, context):
 
 # This allows you to right click on a button and link to the manual
 def add_object_manual_map():
-    url_manual_prefix = "http://wiki.blender.org/index.php/Doc:2.6/Manual/"
+    url_manual_prefix = "https://www.blender.org/manual/"
     url_manual_mapping = (
-        ("bpy.ops.mesh.add_object", "Modeling/Objects"),
+        ("bpy.ops.mesh.add_object", "editors/3dview/object"),
         )
     return url_manual_prefix, url_manual_mapping




More information about the Bf-blender-cvs mailing list