WIP: Reconstruction of background processing.

This commit is contained in:
bubnikv 2018-10-23 15:27:31 +02:00
parent f33713e060
commit bded28f888
17 changed files with 273 additions and 229 deletions

View file

@ -5145,7 +5145,7 @@ void GLCanvas3D::_render_layer_editing_overlay() const
#else
int object_idx = int(volume->select_group_id / 1000000);
#endif // ENABLE_EXTENDED_SELECTION
if ((int)m_print->objects().size() < object_idx)
if ((int)m_print->objects().size() <= object_idx)
return;
const PrintObject* print_object = m_print->get_object(object_idx);