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.
This commit is contained in:
Brecht Van Lommel 2020-04-08 12:32:37 +02:00
parent 7c2a2bd0ad
commit 0c453127e1
Notes: blender-bot 2023-02-14 18:57:49 +01:00
Referenced by issue #75430, Node Wrangler: can't Add Principled Setup on macOS
1 changed files with 1 additions and 0 deletions

View File

@ -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)