diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-04-08 13:32:37 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-04-08 13:34:03 +0300 |
commit | 0c453127e1257381300cd01c1c75dbdb79581a8d (patch) | |
tree | c531ecf69ce444a114d8b70462de6800b66587de /node_wrangler.py | |
parent | 7c2a2bd0ad451107fc984c14a3cc17963fd93056 (diff) |
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.
Diffstat (limited to 'node_wrangler.py')
-rw-r--r-- | node_wrangler.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |