Skip to content

Commit 45a97ac

Browse files
authored
Remove not needed code
1 parent 1722b11 commit 45a97ac

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

editor/src/messages/portfolio/document_migration.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,6 @@ fn migrate_node(node_id: &NodeId, node: &DocumentNode, network_path: &[NodeId],
10951095
document.network_interface.set_input(&InputConnector::node(*node_id, 9), old_inputs[4].clone(), network_path);
10961096
}
10971097

1098-
// Upgrade Transform node to add "Origin Offset" input
10991098
if reference == DefinitionIdentifier::ProtoNode(graphene_std::transform_nodes::transform::IDENTIFIER) && inputs_count == 5 {
11001099
let mut node_template = resolve_document_node_type(&reference)?.default_node_template();
11011100
let old_inputs = document.network_interface.replace_inputs(node_id, network_path, &mut node_template)?;

0 commit comments

Comments
 (0)