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 1db01a9b76
commit 86cf6a55d3
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);