Suppress change preset to SLA if we have multi-part object

This commit is contained in:
YuSanka 2018-11-29 12:33:04 +01:00
parent be9ba936e9
commit 2add733caa
4 changed files with 63 additions and 30 deletions

View file

@ -222,6 +222,7 @@ public:
void update_page_tree_visibility();
void select_preset(std::string preset_name = "");
bool may_discard_current_dirty_preset(PresetCollection* presets = nullptr, const std::string& new_printer_name = "");
bool may_switch_to_SLA_preset();
wxSizer* compatible_printers_widget(wxWindow* parent, wxCheckBox** checkbox, wxButton** btn);
void load_key_value(const std::string& opt_key, const boost::any& value, bool saved_value = false);