fix: "bad allocation" when opening a 2.4 project with a custom filament (#16569)

This commit is contained in:
Kris Austin authored and GitHub committed 2026-10-16 20:12:24 -03:00
1 parent 0acf1e6680
commit 9b2fcaa53a
2 files changed
+32

No files matched your search

+1
View File
@@ -2293,6 +2293,7 @@ void PresetCollection::load_project_embedded_presets(std::vector<Preset*>& proje
BOOST_LOG_TRIVIAL(error) << boost::format("can not find parent for config %1%!")%preset->file;
continue;
}
extend_default_config_length(config, false, {});
preset->config.update_diff_values_to_child_config(config, extruder_id_name, extruder_variant_name, *key_set1, *key_set2);
//preset->config.apply(std::move(config));
Preset::normalize(preset->config);