Auto arrange plate after cloning (#6009)

* Auto arrange plate after cloning
This commit is contained in:
Vovodroid 2024-07-11 18:54:42 +03:00 committed by GitHub
parent 230a4aaad8
commit 45224eee21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 0 deletions

View file

@ -13260,6 +13260,8 @@ void Plater::clone_selection()
}
Selection& selection = p->get_selection();
selection.clone(res);
if (wxGetApp().app_config->get("auto_arrange") == "true")
this->arrange();
}
std::vector<Vec2f> Plater::get_empty_cells(const Vec2f step)