Allow selection of subparts only from sidebar table

This commit is contained in:
Enrico Turri 2019-03-01 10:40:10 +01:00
parent d009be7609
commit e03199d989

View file

@ -896,8 +896,7 @@ void GLCanvas3D::Selection::add(unsigned int volume_idx, bool as_single_selectio
if (needs_reset)
clear();
if (volume->is_modifier)
m_mode = Volume;
m_mode = volume->is_modifier ? Volume : Instance;
switch (m_mode)
{