mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-13 20:05:58 +08:00
fix partial regression due to reversion
This commit is contained in:
parent
bbbcd36113
commit
f84f658389
@ -128,6 +128,7 @@ bool Preset::compatible(const std::string& printer_name) const {
|
||||
auto compatible_list {this->_dirty_config->get<ConfigOptionStrings>("compatible_printers").values};
|
||||
if (compatible_list.size() == 0) return true;
|
||||
return std::any_of(compatible_list.cbegin(), compatible_list.cend(), [printer_name] (const std::string& x) -> bool { return x.compare(printer_name) == 0; });
|
||||
}
|
||||
|
||||
const std::string preset_name(preset_t group) {
|
||||
switch(group) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user