mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 18:27:58 -06:00
Reworked filaments / SLA materials in installation wizard:
1) When the wizard is initialized, filament and SLA profile names are verified and current names of renamed profiles are resolved. Fixes "Add/Remove Filaments is not hiding all of the un-checked filaments #3835" 2) When adding a printer model, default materials are installed in case the printer model has no default material installed. 3) When leaving the Filaments or SLA materials page, and some printer models have no material installed, those Printer Models are listed in a message box and only for those printer models the default materials are installed.
This commit is contained in:
parent
fcb04039e8
commit
a3ded8fa95
5 changed files with 149 additions and 87 deletions
|
@ -361,7 +361,8 @@ public:
|
|||
PresetWithVendorProfile get_preset_with_vendor_profile(const Preset &preset) const;
|
||||
PresetWithVendorProfile get_edited_preset_with_vendor_profile() const { return this->get_preset_with_vendor_profile(this->get_edited_preset()); }
|
||||
|
||||
const std::string& get_preset_name_by_alias(const std::string& alias) const;
|
||||
const std::string& get_preset_name_by_alias(const std::string& alias) const;
|
||||
const std::string* get_preset_name_renamed(const std::string &old_name) const;
|
||||
|
||||
// used to update preset_choice from Tab
|
||||
const std::deque<Preset>& get_presets() const { return m_presets; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue