mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-17 17:33:14 +00:00
FIX: the nums of nozzle_volume_type is incorrect
when save MW 3mf file as multi-extruder jira:none Change-Id: I848e348277fb047c2c3569508d2adbe940e40255 (cherry picked from commit 17edbd8cd57b761027bb3c1f4d318578ab27430e)
This commit is contained in:
@@ -2175,6 +2175,12 @@ bool PresetBundle::is_the_only_edited_filament(unsigned int filament_index)
|
||||
return true;
|
||||
}
|
||||
|
||||
void PresetBundle::reset_default_nozzle_volume_type()
|
||||
{
|
||||
Preset& current_printer = this->printers.get_edited_preset();
|
||||
this->project_config.option<ConfigOptionEnumsGeneric>("nozzle_volume_type")->values = current_printer.config.option<ConfigOptionEnumsGeneric>("default_nozzle_volume_type")->values;
|
||||
}
|
||||
|
||||
int PresetBundle::get_printer_extruder_count() const
|
||||
{
|
||||
const Preset& printer_preset = this->printers.get_edited_preset();
|
||||
|
||||
Reference in New Issue
Block a user