Apply extend_default_config_length to system profiles too

so we don't need to worry about default values for different variants
This commit is contained in:
Noisyfox
2025-10-08 15:19:25 +08:00
parent 4094252562
commit 874bab9a8f
4 changed files with 1 additions and 23 deletions

View File

@@ -3879,6 +3879,7 @@ std::pair<PresetsConfigSubstitutions, size_t> PresetBundle::load_vendor_configs_
}
config = *default_config;
config.apply(config_src);
extend_default_config_length(config, true, *default_config);
if (instantiation == "false" && "Template" != vendor_name) {
config_maps.emplace(preset_name, std::move(config));
if ((presets_collection->type() == Preset::TYPE_FILAMENT) && (!filament_id.empty()))

View File

@@ -7461,9 +7461,6 @@ void PrintConfigDef::handle_legacy_composite(DynamicPrintConfig &config)
const PrintConfigDef print_config_def;
// Orca: important! For EVERY options listed in EVERY sets below, you MUST specify the proper default value for H2D(fdm_bbl_3dp_002_common.json) and H2S(Bambu Lab H2S 0.4 nozzle.json) preset!
// Otherwise you will have modified presets dialog when you switch the profile.
//todo
std::set<std::string> print_options_with_variant = {
//"initial_layer_speed",