Fix wires on document change and errors on hidden nodes (#2897)

* Fix wires on document change and errors on hidden nodes

* Code cleanup
This commit is contained in:
Adam Gerhant
2025-07-19 01:48:42 -07:00
committed by GitHub
parent 7ef9e5a3e8
commit e4ec67d852
9 changed files with 68 additions and 74 deletions
@@ -1323,7 +1323,7 @@ mod test_transform_layer {
let document = editor.active_document_mut();
let group_children = document.network_interface.downstream_layers(&group_layer.to_node(), &[]);
if !group_children.is_empty() {
Some(LayerNodeIdentifier::new(group_children[0], &document.network_interface, &[]))
Some(LayerNodeIdentifier::new(group_children[0], &document.network_interface))
} else {
None
}