mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 07:55:56 +08:00
More common filaments + appending @Common
This commit is contained in:
parent
9581ed1592
commit
36bfd6a565
File diff suppressed because it is too large
Load Diff
@ -1308,6 +1308,9 @@ std::pair<PresetsConfigSubstitutions, size_t> PresetBundle::load_configbundle(
|
|||||||
} else if (boost::starts_with(section.first, "filament:")) {
|
} else if (boost::starts_with(section.first, "filament:")) {
|
||||||
presets = &this->filaments;
|
presets = &this->filaments;
|
||||||
preset_name = section.first.substr(9);
|
preset_name = section.first.substr(9);
|
||||||
|
if (vendor_profile->common_profile) {
|
||||||
|
preset_name += " @Common";
|
||||||
|
}
|
||||||
} else if (boost::starts_with(section.first, "sla_print:")) {
|
} else if (boost::starts_with(section.first, "sla_print:")) {
|
||||||
presets = &this->sla_prints;
|
presets = &this->sla_prints;
|
||||||
preset_name = section.first.substr(10);
|
preset_name = section.first.substr(10);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user