SPE-1606 - Fixed geometry not rendered in the 3D scene after switching from SLA to FFF printer

This commit is contained in:
enricoturri1966 2023-05-10 10:13:20 +02:00
parent b13a51f400
commit 35f4993ec2

View file

@ -6951,8 +6951,7 @@ void Plater::on_config_change(const DynamicPrintConfig &config)
p->sidebar->show_sliced_info_sizer(false);
p->reset_gcode_toolpaths();
p->view3D->get_canvas3d()->reset_sequential_print_clearance();
if (printer_technology == ptSLA)
p->view3D->get_canvas3d()->set_sla_view_type(GLCanvas3D::ESLAViewType::Original);
p->view3D->get_canvas3d()->set_sla_view_type(GLCanvas3D::ESLAViewType::Original);
}
else if (opt_key == "bed_shape" || opt_key == "bed_custom_texture" || opt_key == "bed_custom_model") {
bed_shape_changed = true;