mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Fixed object adding to list with same object's name
+ Added name for main object for complex objects + Fixed incorrect Instances and Settings deleting from ObjectList
This commit is contained in:
parent
d7f013ba19
commit
5557ee3cd2
4 changed files with 8 additions and 4 deletions
|
@ -868,7 +868,7 @@ void ObjectList::del_settings_from_config()
|
|||
|
||||
void ObjectList::del_instances_from_object(const int obj_idx)
|
||||
{
|
||||
auto instances = (*m_objects)[obj_idx]->instances;
|
||||
auto& instances = (*m_objects)[obj_idx]->instances;
|
||||
if (instances.size() <= 1)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue