[Bf-blender-cvs] [047d7d3b57c] master: Fix T59213: Application menu links to outdated version of Python API.

Bastien Montagne noreply at git.blender.org
Wed Dec 12 12:03:54 CET 2018


Commit: 047d7d3b57c0cd6ac320dbd178fa602592b10f48
Author: Bastien Montagne
Date:   Wed Dec 12 11:55:40 2018 +0100
Branches: master
https://developer.blender.org/rB047d7d3b57c0cd6ac320dbd178fa602592b10f48

Fix T59213: Application menu links to outdated version of Python API.

Somehow those links were forgotten when we renamed API doc to simpler
names last year...

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

M	release/scripts/startup/bl_operators/wm.py

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

diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 53735ed3ece..0f3052f64c2 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -1039,9 +1039,9 @@ class WM_OT_doc_view(Operator):
 
     doc_id = doc_id
     if bpy.app.version_cycle == "release":
-        _prefix = ("https://docs.blender.org/api/blender_python_api_current")
+        _prefix = ("https://docs.blender.org/api/current")
     else:
-        _prefix = ("https://docs.blender.org/api/blender_python_api_master")
+        _prefix = ("https://docs.blender.org/api/master")
 
     def execute(self, context):
         url = _wm_doc_get_id(self.doc_id, do_url=True, url_prefix=self._prefix)



More information about the Bf-blender-cvs mailing list