Skip to content

Commit

Permalink
Fix of #11191 (SPE-1851): Shells in preview show when they shouldn't
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmatena committed Aug 31, 2023
1 parent 54c091c commit a89860d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/slic3r/GUI/Plater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3998,7 +3998,8 @@ void Plater::priv::set_current_panel(wxPanel* panel)
bool model_fits = view3D->get_canvas3d()->check_volumes_outside_state() != ModelInstancePVS_Partly_Outside;
if (!model.objects.empty() && !export_in_progress && model_fits) {
preview->get_canvas3d()->init_gcode_viewer();
preview->load_gcode_shells();
if (! this->background_process.finished())
preview->load_gcode_shells();
q->reslice();
}
// keeps current gcode preview, if any
Expand Down

0 comments on commit a89860d

Please sign in to comment.