Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2022-02-23 22:59:51 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2022-02-23 23:00:16 +0300
commit86fc63c4ca9d36eae7512c5c3e640285d84415d1 (patch)
tree7efdfd0413291fb8e299b406bd5905f869ce7b49 /release/scripts/startup/bl_ui
parent6ca85a8cf1f30ea36eaebe28484ae183d836811d (diff)
Cleanup: Simplify manual url version handling
Recently we changed the build pipeline to always create a version number in the url and point 'dev' to the latest version rather than creating the version number url once we release. This makes the check to `bpy.app.version_cycle` unnecessary.
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r--release/scripts/startup/bl_ui/space_topbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index e6d2d1403b5..e488e23c777 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -689,7 +689,7 @@ class TOPBAR_MT_help(Menu):
layout.operator(
"wm.url_open", text="Python API Reference", icon='URL',
- ).url = bpy.types.WM_OT_doc_view._prefix
+ ).type = 'API'
if show_developer:
layout.operator(