Refactoring - Removed member variable GLVolume::force_transparent
This commit is contained in:
parent
6f9efbf19a
commit
403f6d45f9
5 changed files with 7 additions and 24 deletions
|
@ -452,12 +452,7 @@ void Selection::clear()
|
|||
for (unsigned int i : m_list) {
|
||||
GLVolume& volume = *(*m_volumes)[i];
|
||||
volume.selected = false;
|
||||
bool is_transparent = volume.color.is_transparent();
|
||||
if (is_transparent)
|
||||
volume.force_transparent = true;
|
||||
volume.set_render_color();
|
||||
if (is_transparent)
|
||||
volume.force_transparent = false;
|
||||
volume.set_render_color(volume.color.is_transparent());
|
||||
}
|
||||
|
||||
m_list.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue