From e6604afd05da4df1ce355b92bf33ea20797a5742 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Tue, 24 Sep 2019 09:11:27 +0200 Subject: [PATCH] #2972 - Fixed selection after adding an instance with autocenter active --- src/slic3r/GUI/Plater.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 28474cac9..c7f1f4c5c 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -4288,11 +4288,10 @@ void Plater::increase_instances(size_t num) sidebar().obj_list()->increase_object_instances(obj_idx, was_one_instance ? num + 1 : num); - if (p->get_config("autocenter") == "1") { + if (p->get_config("autocenter") == "1") p->arrange(); - } else { - p->update(); - } + + p->update(); p->get_selection().add_instance(obj_idx, (int)model_object->instances.size() - 1);