Fix for #10072 - Split to objects is acting funky

This commit is contained in:
YuSanka 2023-03-17 17:13:29 +01:00
parent 79adb72a25
commit 39bca4420c

View File

@ -3160,6 +3160,8 @@ void Plater::priv::split_object()
// causing original positions not to be kept // causing original positions not to be kept
std::vector<size_t> idxs = load_model_objects(new_objects); std::vector<size_t> idxs = load_model_objects(new_objects);
// clear previosli selection
get_selection().clear();
// select newly added objects // select newly added objects
for (size_t idx : idxs) for (size_t idx : idxs)
{ {