handle_legacy_sla() is moved into handle_legacy_composite()

This commit is contained in:
YuSanka 2024-11-02 03:10:36 +01:00 committed by Lukas Matena
parent c5b525ba3f
commit 1bc395cac2
2 changed files with 3 additions and 1 deletions

View File

@ -334,7 +334,7 @@ void Preset::normalize(DynamicPrintConfig &config)
first_layer_height->percent = false;
}
handle_legacy_sla(config);
// handle_legacy_sla(config); // it looks like the best place for call it, is handle_legacy_composite
}
std::string Preset::remove_invalid_keys(DynamicPrintConfig &config, const DynamicPrintConfig &default_config)

View File

@ -5064,6 +5064,8 @@ void PrintConfigDef::handle_legacy_composite(DynamicPrintConfig &config)
}
config.set_key_value("wiping_volumes_use_custom_matrix", new ConfigOptionBool(custom));
}
handle_legacy_sla(config);
}
const PrintConfigDef print_config_def;