#7160 - Fixed drag object on mouse move cause wrong color when outside the print area
This commit is contained in:
parent
f309cf3aa9
commit
3f669e70b9
1 changed files with 4 additions and 1 deletions
|
@ -1712,7 +1712,10 @@ void Selection::set_caches()
|
||||||
void Selection::do_add_volume(unsigned int volume_idx)
|
void Selection::do_add_volume(unsigned int volume_idx)
|
||||||
{
|
{
|
||||||
m_list.insert(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)
|
void Selection::do_add_volumes(const std::vector<unsigned int>& volume_idxs)
|
||||||
|
|
Loading…
Reference in a new issue