Node Wrangler: remove unnecessary code

Differential Revision: https://developer.blender.org/D12076
This commit is contained in:
jim man 2021-08-26 12:55:56 +02:00 committed by Jacques Lucke
parent b701b514de
commit 64eeb14bf2
1 changed files with 0 additions and 3 deletions

View File

@ -734,14 +734,11 @@ def autolink(node1, node2, links):
def node_at_pos(nodes, context, event):
nodes_near_mouse = []
nodes_under_mouse = []
target_node = None
store_mouse_cursor(context, event)
x, y = context.space_data.cursor_location
x = x
y = y
# Make a list of each corner (and middle of border) for each node.
# Will be sorted to find nearest point and thus nearest node