mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
fix group input node using old outgoing connections format
This commit is contained in:
parent
a5094ce450
commit
882c031f86
1 changed files with 4 additions and 1 deletions
|
@ -33,8 +33,11 @@ func _on_outgoing_connection_added(port_idx: int) -> void:
|
||||||
|
|
||||||
func _on_outgoing_connection_removed(port_idx: int) -> void:
|
func _on_outgoing_connection_removed(port_idx: int) -> void:
|
||||||
var last_connected_port := 0
|
var last_connected_port := 0
|
||||||
|
#for port: int in outgoing_connections.keys().slice(1):
|
||||||
|
#if !(outgoing_connections[port] as Array).is_empty():
|
||||||
|
#last_connected_port = port
|
||||||
for port: int in outgoing_connections.keys().slice(1):
|
for port: int in outgoing_connections.keys().slice(1):
|
||||||
if !(outgoing_connections[port] as Array).is_empty():
|
if !(outgoing_connections.get(port, {}) as Dictionary).is_empty():
|
||||||
last_connected_port = port
|
last_connected_port = port
|
||||||
|
|
||||||
prints("l:", last_connected_port, "p:", port_idx)
|
prints("l:", last_connected_port, "p:", port_idx)
|
||||||
|
|
Loading…
Reference in a new issue