mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-21 01:36:03 +08:00
Update NodePort.cs
Noticed that the port being grabbed was from the targetPort, not itself
This commit is contained in:
parent
b94cc843b0
commit
e1abe6d489
@ -381,7 +381,7 @@ namespace XNode {
|
|||||||
|
|
||||||
// Add connections to target port
|
// Add connections to target port
|
||||||
for (int i = 0; i < connectionCount; i++) {
|
for (int i = 0; i < connectionCount; i++) {
|
||||||
PortConnection connection = targetPort.connections[i];
|
PortConnection connection = connections[i];
|
||||||
NodePort otherPort = connection.Port;
|
NodePort otherPort = connection.Port;
|
||||||
targetPort.Connect(otherPort);
|
targetPort.Connect(otherPort);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user