From e62c25189865f85053948051e545b3ebce67d124 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Mon, 22 May 2023 09:05:44 +0200 Subject: [PATCH] Follow-up of 15bd82e - Fixed detection of out of printbed after copy and paste --- src/slic3r/GUI/GUI_ObjectList.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index 88e8f8691..76c8cecad 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -4010,8 +4010,10 @@ void ObjectList::update_selections_on_canvas() selection.add_volumes(mode, volume_idxs, single_selection); } - wxGetApp().plater()->canvas3D()->update_gizmos_on_off_state(); - wxGetApp().plater()->canvas3D()->render(); + GLCanvas3D* canvas = wxGetApp().plater()->canvas3D(); + canvas->update_gizmos_on_off_state(); + canvas->check_volumes_outside_state(); + canvas->render(); } void ObjectList::select_item(const wxDataViewItem& item)