mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-03 22:20:36 +08:00
SPE-2607: Fixed update of shells after beds are switched (broken in 7527470)
This commit is contained in:
parent
cd81c686d1
commit
66cf372def
@ -2984,6 +2984,7 @@ void Plater::priv::set_current_panel(wxPanel* panel)
|
|||||||
bool model_fits = view3D->get_canvas3d()->check_volumes_outside_state() != ModelInstancePVS_Partly_Outside;
|
bool model_fits = view3D->get_canvas3d()->check_volumes_outside_state() != ModelInstancePVS_Partly_Outside;
|
||||||
if (s_multiple_beds.is_bed_occupied(s_multiple_beds.get_active_bed()) && !model.objects.empty() && !export_in_progress && model_fits) {
|
if (s_multiple_beds.is_bed_occupied(s_multiple_beds.get_active_bed()) && !model.objects.empty() && !export_in_progress && model_fits) {
|
||||||
preview->get_canvas3d()->init_gcode_viewer();
|
preview->get_canvas3d()->init_gcode_viewer();
|
||||||
|
preview->get_canvas3d()->load_gcode_shells();
|
||||||
q->reslice();
|
q->reslice();
|
||||||
}
|
}
|
||||||
// keeps current gcode preview, if any
|
// keeps current gcode preview, if any
|
||||||
|
Loading…
x
Reference in New Issue
Block a user