Revert "Add multi-level loop indexing with the 'Instance Repeat' node"

This reverts commit 112efe88c2.
This commit is contained in:
Dennis Kobert
2025-09-13 10:34:48 +02:00
parent 75ad8d4abd
commit 6f3ab3eaf6
3 changed files with 18 additions and 32 deletions
@@ -1040,18 +1040,6 @@ fn migrate_node(node_id: &NodeId, node: &DocumentNode, network_path: &[NodeId],
}
}
// Add the "Depth" parameter to the "Instance Index" node
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);
let mut node_path = network_path.to_vec();
node_path.push(*node_id);
document.network_interface.add_import(TaggedValue::None, false, 0, "Primary", "", &node_path);
document.network_interface.add_import(TaggedValue::U32(0), false, 1, "Loop Level", "TODO", &node_path);
}
// Migrate the Transform node to use degrees instead of radians
if reference == "Transform" && node.inputs.get(6).is_none() {
// Migrate rotation from radians to degrees