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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 52 additions and 0 deletions

View file

@ -2436,6 +2436,7 @@ struct Plater::priv
void delete_all_objects_from_model();
void reset(bool apply_presets_change = false);
void center_selection();
void drop_selection();
void mirror(Axis axis);
void split_object();
void split_volume();
@ -5022,6 +5023,11 @@ void Plater::priv::center_selection()
view3D->center_selected();
}
void Plater::priv::drop_selection()
{
view3D->drop_selected();
}
void Plater::priv::mirror(Axis axis)
{
view3D->mirror_selection(axis);
@ -13239,6 +13245,7 @@ void Plater::suppress_background_process(const bool stop_background_process)
}
void Plater::center_selection() { p->center_selection(); }
void Plater::drop_selection() { p->drop_selection(); }
void Plater::mirror(Axis axis) { p->mirror(axis); }
void Plater::split_object() { p->split_object(); }
void Plater::split_volume() { p->split_volume(); }