mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-29 08:32:00 -05: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:
1 parent
d7f013ba19
commit
5557ee3cd2
4 files changed
+8
-4
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user