Hot-fix for 82b720eba1
This commit is contained in:
parent
82b720eba1
commit
2047002e3c
1 changed files with 3 additions and 3 deletions
|
@ -141,9 +141,9 @@ const Preset* SavePresetDialog::Item::get_existing_preset() const
|
|||
if (m_presets)
|
||||
return m_presets->find_preset(m_preset_name, false);
|
||||
|
||||
const std::vector<Preset::Type> types = m_printer_technology == ptFFF ?
|
||||
std::initializer_list{Preset::TYPE_PRINTER, Preset::TYPE_PRINT, Preset::TYPE_FILAMENT } :
|
||||
std::initializer_list{Preset::TYPE_PRINTER, Preset::TYPE_SLA_PRINT, Preset::TYPE_SLA_MATERIAL };
|
||||
const auto types = m_printer_technology == ptFFF ?
|
||||
std::initializer_list<Preset::Type>{Preset::TYPE_PRINTER, Preset::TYPE_PRINT, Preset::TYPE_FILAMENT } :
|
||||
std::initializer_list<Preset::Type>{Preset::TYPE_PRINTER, Preset::TYPE_SLA_PRINT, Preset::TYPE_SLA_MATERIAL };
|
||||
|
||||
for (auto type : types) {
|
||||
const PresetCollection& presets = wxGetApp().preset_bundle->get_presets(type);
|
||||
|
|
Loading…
Reference in a new issue