mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Follow-up of 67e519d3ab
- Use a platform-indipendent fix
This commit is contained in:
parent
c917b82bea
commit
1df91ea930
5 changed files with 100 additions and 42 deletions
|
@ -3801,9 +3801,7 @@ 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) {
|
||||
#if ENABLE_SEAMS_USING_MODELS
|
||||
// the following call is needed to ensure that GCodeViewer buffers are initialized
|
||||
// before calling reslice() when background processing is active
|
||||
preview->SetFocusFromKbd();
|
||||
preview->get_canvas3d()->init_gcode_viewer();
|
||||
#endif // ENABLE_SEAMS_USING_MODELS
|
||||
q->reslice();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue