mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
NEW: move selected model to the center of selected plate
Change-Id: I7af49e98e83f5eef690f7d30d10a2cc240046466
This commit is contained in:
parent
62da568e0b
commit
31ba41ec3e
11 changed files with 99 additions and 1 deletions
|
@ -1676,6 +1676,7 @@ struct Plater::priv
|
|||
void delete_object_from_model(size_t obj_idx, bool refresh_immediately = true); //BBS
|
||||
void delete_all_objects_from_model();
|
||||
void reset(bool apply_presets_change = false);
|
||||
void center_selection();
|
||||
void mirror(Axis axis);
|
||||
void split_object();
|
||||
void split_volume();
|
||||
|
@ -3696,6 +3697,11 @@ void Plater::priv::reset(bool apply_presets_change)
|
|||
m_saved_timestamp = m_backup_timestamp = size_t(-1);
|
||||
}
|
||||
|
||||
void Plater::priv::center_selection()
|
||||
{
|
||||
view3D->center_selected();
|
||||
}
|
||||
|
||||
void Plater::priv::mirror(Axis axis)
|
||||
{
|
||||
view3D->mirror_selection(axis);
|
||||
|
@ -9456,6 +9462,7 @@ void Plater::suppress_background_process(const bool stop_background_process)
|
|||
this->p->suppressed_backround_processing_update = true;
|
||||
}
|
||||
|
||||
void Plater::center_selection() { p->center_selection(); }
|
||||
void Plater::mirror(Axis axis) { p->mirror(axis); }
|
||||
void Plater::split_object() { p->split_object(); }
|
||||
void Plater::split_volume() { p->split_volume(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue