Fixed merge issues.
This commit is contained in:
parent
3a24fb2f47
commit
b1420283b6
6 changed files with 18 additions and 12 deletions
src/slic3r/GUI
|
@ -3400,5 +3400,13 @@ void ObjectList::recreate_object_list()
|
|||
m_prevent_list_events = false;
|
||||
}
|
||||
|
||||
ModelObject* ObjectList::object(const int obj_idx) const
|
||||
{
|
||||
if (obj_idx < 0)
|
||||
return nullptr;
|
||||
|
||||
return (*m_objects)[obj_idx];
|
||||
}
|
||||
|
||||
} //namespace GUI
|
||||
} //namespace Slic3r
|
Loading…
Add table
Add a link
Reference in a new issue