[Bf-extensions-cvs] [0c453127] master: Fix T75430: some operators in node wrangler Shift+W menu not working
Brecht Van Lommel
noreply at git.blender.org
Wed Apr 8 12:34:08 CEST 2020
Commit: 0c453127e1257381300cd01c1c75dbdb79581a8d
Author: Brecht Van Lommel
Date: Wed Apr 8 12:32:37 2020 +0200
Branches: master
https://developer.blender.org/rBA0c453127e1257381300cd01c1c75dbdb79581a8d
Fix T75430: some operators in node wrangler Shift+W menu not working
Some of these must be invoked rather than executed to show a file browser or
popup menu.
===================================================================
M node_wrangler.py
===================================================================
diff --git a/node_wrangler.py b/node_wrangler.py
index e7486e41..03223540 100644
--- a/node_wrangler.py
+++ b/node_wrangler.py
@@ -3797,6 +3797,7 @@ class NodeWranglerMenu(Menu, NWBase):
bl_label = "Node Wrangler"
def draw(self, context):
+ self.layout.operator_context = 'INVOKE_DEFAULT'
drawlayout(context, self.layout)
More information about the Bf-extensions-cvs
mailing list