mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 16:27:54 -06:00
Added menu Edit -> Select all
This commit is contained in:
parent
c6b597b813
commit
681beeadf6
10 changed files with 77 additions and 8 deletions
|
@ -951,6 +951,7 @@ struct Plater::priv
|
|||
void selection_changed();
|
||||
void object_list_changed();
|
||||
|
||||
void select_all();
|
||||
void remove(size_t obj_idx);
|
||||
void delete_object_from_model(size_t obj_idx);
|
||||
void reset();
|
||||
|
@ -1529,6 +1530,11 @@ void Plater::priv::object_list_changed()
|
|||
sidebar->enable_buttons(!model.objects.empty() && !export_in_progress && model_fits);
|
||||
}
|
||||
|
||||
void Plater::priv::select_all()
|
||||
{
|
||||
_3DScene::select_all(canvas3D);
|
||||
}
|
||||
|
||||
void Plater::priv::remove(size_t obj_idx)
|
||||
{
|
||||
// Prevent toolpaths preview from rendering while we modify the Print object
|
||||
|
@ -2272,6 +2278,8 @@ void Plater::update() { p->update(); }
|
|||
|
||||
void Plater::select_view(const std::string& direction) { p->select_view(direction); }
|
||||
|
||||
void Plater::select_all() { p->select_all(); }
|
||||
|
||||
void Plater::remove(size_t obj_idx) { p->remove(obj_idx); }
|
||||
void Plater::delete_object_from_model(size_t obj_idx) { p->delete_object_from_model(obj_idx); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue