mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 16:27:54 -06:00
Deletion of instances and volumes from 3D scene
This commit is contained in:
parent
3858fecf0c
commit
3613a54e03
9 changed files with 95 additions and 7 deletions
|
@ -2121,9 +2121,7 @@ void Plater::delete_object_from_model(size_t obj_idx) { p->delete_object_from_mo
|
|||
|
||||
void Plater::remove_selected()
|
||||
{
|
||||
int obj_idx = p->get_selected_object_idx();
|
||||
if (obj_idx != -1)
|
||||
remove((size_t)obj_idx);
|
||||
_3DScene::delete_selected(canvas3D());
|
||||
}
|
||||
|
||||
void Plater::increase_instances(size_t num)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue