mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -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
|
@ -42,6 +42,8 @@ public:
|
|||
PresetCollection sla_prints;
|
||||
PresetCollection filaments;
|
||||
PresetCollection sla_materials;
|
||||
PresetCollection& materials(PrinterTechnology pt) { return pt == ptFFF ? this->filaments : this->sla_materials; }
|
||||
const PresetCollection& materials(PrinterTechnology pt) const { return pt == ptFFF ? this->filaments : this->sla_materials; }
|
||||
PrinterPresetCollection printers;
|
||||
// Filament preset names for a multi-extruder or multi-material print.
|
||||
// extruders.size() should be the same as printers.get_edited_preset().config.nozzle_diameter.size()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue