Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_world_coordinates

This commit is contained in:
enricoturri1966 2021-11-03 12:03:23 +01:00
commit 9885df5530
62 changed files with 2034 additions and 1266 deletions

View file

@ -1786,7 +1786,10 @@ void Selection::set_caches()
void Selection::do_add_volume(unsigned int volume_idx)
{
m_list.insert(volume_idx);
(*m_volumes)[volume_idx]->selected = true;
GLVolume* v = (*m_volumes)[volume_idx];
v->selected = true;
if (v->hover == GLVolume::HS_Select || v->hover == GLVolume::HS_Deselect)
v->hover = GLVolume::HS_Hover;
}
void Selection::do_add_volumes(const std::vector<unsigned int>& volume_idxs)