Fix and clean up typing-related flaws with the Math category of nodes

This commit is contained in:
Keavon Chambers
2025-09-18 16:37:01 -07:00
parent 7e3ab78ea4
commit 9d15e56ce1
6 changed files with 112 additions and 96 deletions
@@ -1060,6 +1060,7 @@ fn migrate_node(node_id: &NodeId, node: &DocumentNode, network_path: &[NodeId],
if reference == "Instance Index" && inputs_count == 0 {
let mut node_template = resolve_document_node_type(reference)?.default_node_template();
document.network_interface.replace_implementation(node_id, network_path, &mut node_template);
document.network_interface.set_display_name(node_id, "Instance Index".to_string(), network_path);
let mut node_path = network_path.to_vec();
node_path.push(*node_id);