mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-21 01:36:03 +08:00
Removed offsetting reroute points with output node. Reroute points should only move if dragged.
This commit is contained in:
parent
6d0ce544c9
commit
f65d4a2dd7
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user