Fixed merge issues.

This commit is contained in:
bubnikv 2019-07-04 20:49:46 +02:00
parent 3a24fb2f47
commit b1420283b6
6 changed files with 18 additions and 12 deletions
src/slic3r/GUI

View file

@ -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