mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
#2972 - Fixed selection after adding an instance with autocenter active
This commit is contained in:
1 parent
a6f5fe7bea
commit
e6604afd05
1 file changed
+3
-4
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user