From f2e998de9b2b31c4deeda400cc4bcddd24b0c310 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Mon, 9 Jan 2023 12:47:53 +0100 Subject: [PATCH] Follow-up of 2c02db35140612c377ee847b802428dbb0c908f7 - Fixed assert --- src/slic3r/GUI/Selection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Selection.cpp b/src/slic3r/GUI/Selection.cpp index 461a009794..6242fcb5cb 100644 --- a/src/slic3r/GUI/Selection.cpp +++ b/src/slic3r/GUI/Selection.cpp @@ -848,7 +848,7 @@ std::pair Selection::get_bounding_box_in_reference_s break; } case ECoordinatesType::Local: { - assert(is_single_volume_or_modifier()); + assert(is_single_volume_or_modifier() || is_single_volume_instance()); const GLVolume& v = *get_first_volume(); original_box = v.bounding_box(); trafo = v.world_matrix();