[Bf-blender-cvs] [fc8aab755ad] master: Fix T96015: Calling wrong operator resulting in python error
Aaron Carlisle
noreply at git.blender.org
Thu Feb 24 17:10:10 CET 2022
Commit: fc8aab755ad626198b279adc2f56158c4812537f
Author: Aaron Carlisle
Date: Thu Feb 24 11:10:00 2022 -0500
Branches: master
https://developer.blender.org/rBfc8aab755ad626198b279adc2f56158c4812537f
Fix T96015: Calling wrong operator resulting in python error
Own mistake in rB86fc63c4ca9d36eae7512c5c3e640285d84415d1.
Forgot to change the call from `wm.url_open` to `wm.url_open_preset`.
===================================================================
M release/scripts/startup/bl_ui/space_topbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index e488e23c777..3b6bdd01efa 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -688,7 +688,7 @@ class TOPBAR_MT_help(Menu):
layout.separator()
layout.operator(
- "wm.url_open", text="Python API Reference", icon='URL',
+ "wm.url_open_preset", text="Python API Reference", icon='URL',
).type = 'API'
if show_developer:
More information about the Bf-blender-cvs
mailing list