diff options
author | Campbell Barton <ideasman42@gmail.com> | 2022-05-11 14:10:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2022-05-11 14:10:14 +0300 |
commit | bf450925fea6719896be7866432c8d1d6f79d58e (patch) | |
tree | 47dfb3f397fd9321040c1742b4e8729b95b70e37 /amaranth | |
parent | 67e43f9083b79b33f5aa6ac4d1630946804d9534 (diff) |
Fix T98039: Node Wrangler node preview no longer working
Update for changes in Blender.
Diffstat (limited to 'amaranth')
-rw-r--r-- | amaranth/node_editor/display_image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amaranth/node_editor/display_image.py b/amaranth/node_editor/display_image.py index e0d68190..b15be590 100644 --- a/amaranth/node_editor/display_image.py +++ b/amaranth/node_editor/display_image.py @@ -40,7 +40,7 @@ class AMTH_NODE_OT_show_active_node_image(bpy.types.Operator): def invoke(self, context, event): mlocx = event.mouse_region_x mlocy = event.mouse_region_y - select_node = bpy.ops.node.select(mouse_x=mlocx, mouse_y=mlocy, extend=False) + select_node = bpy.ops.node.select(location=(mlocx, mlocy), extend=False) if 'FINISHED' in select_node: # Only run if we're clicking on a node get_addon = "amaranth" in context.preferences.addons.keys() |