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
10 changed files with 52 additions and 0 deletions

View File

@@ -157,6 +157,12 @@ void View3D::center_selected()
m_canvas->do_center();
}
void View3D::drop_selected()
{
if (m_canvas != nullptr)
m_canvas->do_drop();
}
void View3D::center_selected_plate(const int plate_idx) {
if (m_canvas != nullptr)
m_canvas->do_center_plate(plate_idx);