Drop object on the plate (#6166)

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
Vovodroid 2024-08-06 18:18:28 +03:00 committed by GitHub
parent 724762bbc8
commit 98a243c302
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 52 additions and 0 deletions

View file

@ -4875,6 +4875,14 @@ void GLCanvas3D::do_center()
m_selection.center();
}
void GLCanvas3D::do_drop()
{
if (m_model == nullptr)
return;
m_selection.drop();
}
void GLCanvas3D::do_center_plate(const int plate_idx) {
if (m_model == nullptr)
return;