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...
This commit is contained in:
parent
e757c4a3be
commit
047d7d3b57
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue