1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 17:26:02 +08:00

Removed offsetting reroute points with output node. Reroute points should only move if dragged.

This commit is contained in:
Thor Brigsted 2018-07-27 14:33:59 +02:00
parent 6d0ce544c9
commit f65d4a2dd7

View File

@ -97,13 +97,6 @@ namespace XNodeEditor {
rect.position += offset;
portConnectionPoints[output] = rect;
}
for (int k = 0; k < output.ConnectionCount; k++) {
List<Vector2> reroutePoints = output.GetReroutePoints(k);
for (int index = 0; index < reroutePoints.Count; index++) {
reroutePoints[index] += offset;
}
}
}
foreach (XNode.NodePort input in node.Inputs) {