Tech ENABLE_SEAMS_USING_MODELS set as default

This commit is contained in:
enricoturri1966 2021-11-30 08:36:55 +01:00
parent 3f0bdb5816
commit 75856d5e65
9 changed files with 3 additions and 214 deletions

View file

@ -3904,9 +3904,7 @@ void Plater::priv::set_current_panel(wxPanel* panel)
bool export_in_progress = this->background_process.is_export_scheduled();
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
preview->get_canvas3d()->init_gcode_viewer();
#endif // ENABLE_SEAMS_USING_MODELS
q->reslice();
}
// keeps current gcode preview, if any