mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-26 01:28:37 -07:00
FIX: get nozzle_diameter error
jira: none Change-Id: Ic33854a0d7322fe9154910480d2ea3ceae524f79 (cherry picked from commit 12912f6772b3c11d5df658be1fc8c17ccb5565cc)
This commit is contained in:
parent
5b9510981d
commit
4e4e9f7d15
1 changed files with 2 additions and 1 deletions
|
|
@ -803,7 +803,8 @@ void PartPlate::render_logo(bool bottom, bool render_cali)
|
|||
curr_bed_type = proj_cfg.opt_enum<BedType>(std::string("curr_bed_type"));
|
||||
}
|
||||
int bed_type_idx = (int)curr_bed_type;
|
||||
bool is_single_extruder = m_print->config().nozzle_diameter.size() == 1;
|
||||
DynamicPrintConfig *global_config = &wxGetApp().preset_bundle->printers.get_edited_preset().config;
|
||||
auto is_single_extruder = global_config->option<ConfigOptionFloatsNullable>("nozzle_diameter")->size() == 1;
|
||||
if (!is_single_extruder) {
|
||||
bed_type_idx = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue