[Bf-blender-cvs] [74b21038] blender-v2.76-release: Fix T46169: Link to bpy API in addons tab of user preferences is outdated.
Bastien Montagne
noreply at git.blender.org
Wed Sep 23 16:11:54 CEST 2015
Commit: 74b210387f2efd81ebe9da23bb7b856236712159
Author: Bastien Montagne
Date: Sun Sep 20 09:49:36 2015 +0200
Branches: blender-v2.76-release
https://developer.blender.org/rB74b210387f2efd81ebe9da23bb7b856236712159
Fix T46169: Link to bpy API in addons tab of user preferences is outdated.
Now use auto-generated one, like e.g. for link in Help main menu...
===================================================================
M release/scripts/startup/bl_ui/space_userpref.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index adbb18b..1259e74 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -1180,7 +1180,7 @@ class USERPREF_MT_addons_dev_guides(Menu):
def draw(self, context):
layout = self.layout
- layout.operator("wm.url_open", text="API Concepts", icon='URL').url = "http://wiki.blender.org/index.php/Dev:2.5/Py/API/Intro"
+ layout.operator("wm.url_open", text="API Concepts", icon='URL').url = bpy.types.WM_OT_doc_view._prefix + "/info_quickstart.html"
layout.operator("wm.url_open", text="Addon Guidelines", icon='URL').url = "http://wiki.blender.org/index.php/Dev:2.5/Py/Scripts/Guidelines/Addons"
layout.operator("wm.url_open", text="How to share your addon", icon='URL').url = "http://wiki.blender.org/index.php/Dev:Py/Sharing"
More information about the Bf-blender-cvs
mailing list