From 9306c25db266c7081400786ce2a616f870c0cf42 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sun, 18 Nov 2018 16:43:25 -0600 Subject: [PATCH] Filter only when not loading printer presets. --- src/GUI/Plater/PresetChooser.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/GUI/Plater/PresetChooser.cpp b/src/GUI/Plater/PresetChooser.cpp index cf05eb4eb..4bd2634b9 100644 --- a/src/GUI/Plater/PresetChooser.cpp +++ b/src/GUI/Plater/PresetChooser.cpp @@ -57,7 +57,9 @@ void PresetChooser::load(std::array presets) { for (const auto& group : { preset_t::Printer, preset_t::Material, preset_t::Print }) { auto current_list = presets.at(get_preset(group)); // Filter out profiles not compatible with this printer - current_list = grep(presets.at(get_preset(group)), [selected_printer_name] (const Preset& x) -> bool { return x.compatible(selected_printer_name); }); + if (group != preset_t::Printer) { + current_list = grep(presets.at(get_preset(group)), [selected_printer_name] (const Preset& x) -> bool { return x.compatible(selected_printer_name); }); + } // show default names if no other presets visible. if (current_list.size() > 1) {