Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2022-05-11 14:10:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2022-05-11 14:12:44 +0300
commitd3eda2e271c00c7204a57e8106164e923c2f4089 (patch)
treee628d6c75095e13f0d8933a2d6d117d1d6d13b7f /amaranth
parentb87642c5dcbfe5d2779e070984ce0914b8f64f78 (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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/amaranth/node_editor/display_image.py b/amaranth/node_editor/display_image.py
index 77b081b2..81048b0c 100644
--- a/amaranth/node_editor/display_image.py
+++ b/amaranth/node_editor/display_image.py
@@ -39,7 +39,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()