send the node id properly in node added to group signal

This commit is contained in:
Lera Elvoé 2023-12-12 19:34:55 +03:00
parent 9a40aa3717
commit 7a95121330
No known key found for this signature in database

View file

@ -76,7 +76,7 @@ func add_node_inst(node: DeckNode, assign_id: String = "", assign_to_self: bool
node_added.emit(node) node_added.emit(node)
if is_group && emit_group_signals: if is_group && emit_group_signals:
node_added_to_group.emit(node, assign_id, assign_to_self, self) node_added_to_group.emit(node, node._id, assign_to_self, self)
node.port_value_updated.connect( node.port_value_updated.connect(
func(port_idx: int, new_value: Variant): func(port_idx: int, new_value: Variant):