From f65d4a2dd78aa433c2a8b643a9c6e679872f7d97 Mon Sep 17 00:00:00 2001 From: Thor Brigsted Date: Fri, 27 Jul 2018 14:33:59 +0200 Subject: [PATCH] Removed offsetting reroute points with output node. Reroute points should only move if dragged. --- Scripts/Editor/NodeEditorAction.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Scripts/Editor/NodeEditorAction.cs b/Scripts/Editor/NodeEditorAction.cs index 0ba2428..12a48ec 100644 --- a/Scripts/Editor/NodeEditorAction.cs +++ b/Scripts/Editor/NodeEditorAction.cs @@ -97,13 +97,6 @@ namespace XNodeEditor { rect.position += offset; portConnectionPoints[output] = rect; } - - for (int k = 0; k < output.ConnectionCount; k++) { - List reroutePoints = output.GetReroutePoints(k); - for (int index = 0; index < reroutePoints.Count; index++) { - reroutePoints[index] += offset; - } - } } foreach (XNode.NodePort input in node.Inputs) {