mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Drop object on the plate (#6166)
Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user