More common filaments + appending @Common

This commit is contained in:
David Kocik 2022-02-02 19:40:46 +01:00
parent 9581ed1592
commit 36bfd6a565
2 changed files with 1315 additions and 100 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1308,6 +1308,9 @@ std::pair<PresetsConfigSubstitutions, size_t> PresetBundle::load_configbundle(
} else if (boost::starts_with(section.first, "filament:")) {
presets = &this->filaments;
preset_name = section.first.substr(9);
if (vendor_profile->common_profile) {
preset_name += " @Common";
}
} else if (boost::starts_with(section.first, "sla_print:")) {
presets = &this->sla_prints;
preset_name = section.first.substr(10);