mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 01:15:53 +08:00
Fix of #11191 (SPE-1851): Shells in preview show when they shouldn't
This commit is contained in:
parent
54c091cbc9
commit
a89860d7d3
@ -3998,6 +3998,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 (!model.objects.empty() && !export_in_progress && model_fits) {
|
if (!model.objects.empty() && !export_in_progress && model_fits) {
|
||||||
preview->get_canvas3d()->init_gcode_viewer();
|
preview->get_canvas3d()->init_gcode_viewer();
|
||||||
|
if (! this->background_process.finished())
|
||||||
preview->load_gcode_shells();
|
preview->load_gcode_shells();
|
||||||
q->reslice();
|
q->reslice();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user