mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -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
|
@ -1180,9 +1180,9 @@ void ObjectList::delete_from_model_and_list(const ItemType type, const int obj_i
|
|||
}
|
||||
}
|
||||
|
||||
void ObjectList::delete_from_model_and_list(const std::vector<ItemForDelete> * items_for_delete)
|
||||
void ObjectList::delete_from_model_and_list(const std::vector<ItemForDelete>& items_for_delete)
|
||||
{
|
||||
for (auto& item : *items_for_delete)
|
||||
for (auto& item : items_for_delete)
|
||||
{
|
||||
if ( !(item.type&(itObject|itVolume|itInstance)) )
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue