mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 20:57:53 -06:00
Drop object on the plate (#6166)
Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
724762bbc8
commit
98a243c302
10 changed files with 52 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue