Drop object on the plate (#6166)

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
VovodroidandSoftFever authored and GitHub committed 2024-08-06 23:18:28 +08:00
1 parent 724762bbc8
commit 98a243c302
10 files changed
+52

No files matched your search

+6
View File
@@ -490,6 +490,12 @@ void Selection::center()
return;
}
void Selection::drop()
{
this->move_to_center(Vec3d(0, 0, -this->get_bounding_box().min.z()));
wxGetApp().plater()->get_view3D_canvas3D()->do_move(L("Move Object"));
}
void Selection::center_plate(const int plate_idx) {
PartPlate* plate = wxGetApp().plater()->get_partplate_list().get_plate(plate_idx);