Fix of missing update after changing the value of Max print height into Printer settings tab - SPE-1133
This commit is contained in:
parent
bdb9d0bf9a
commit
e6c7814546
2 changed files with 4 additions and 2 deletions
|
@ -174,7 +174,7 @@ bool Bed3D::set_shape(const Pointfs& bed_shape, const double max_print_height, c
|
|||
}
|
||||
|
||||
|
||||
if (m_build_volume.bed_shape() == bed_shape && m_type == type && m_texture_filename == texture_filename && m_model_filename == model_filename)
|
||||
if (m_build_volume.bed_shape() == bed_shape && m_build_volume.max_print_height() == max_print_height && m_type == type && m_texture_filename == texture_filename && m_model_filename == model_filename)
|
||||
// No change, no need to update the UI.
|
||||
return false;
|
||||
|
||||
|
|
|
@ -6284,8 +6284,10 @@ void Plater::on_config_change(const DynamicPrintConfig &config)
|
|||
update_scheduled = true;
|
||||
p->sidebar->obj_list()->update_extruder_colors();
|
||||
}
|
||||
else if(opt_key == "max_print_height")
|
||||
else if (opt_key == "max_print_height") {
|
||||
bed_shape_changed = true;
|
||||
update_scheduled = true;
|
||||
}
|
||||
else if (opt_key == "printer_model") {
|
||||
p->reset_gcode_toolpaths();
|
||||
// update to force bed selection(for texturing)
|
||||
|
|
Loading…
Reference in a new issue