mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 01:06:01 +08:00
Fixed bug in NodePort.cs
MoveConnections did not move the connections to another port, added connections to self, then cleared connections from self.
This commit is contained in:
parent
82f7887931
commit
b94cc843b0
@ -383,7 +383,7 @@ namespace XNode {
|
||||
for (int i = 0; i < connectionCount; i++) {
|
||||
PortConnection connection = targetPort.connections[i];
|
||||
NodePort otherPort = connection.Port;
|
||||
Connect(otherPort);
|
||||
targetPort.Connect(otherPort);
|
||||
}
|
||||
ClearConnections();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user