New selection -> Fixed selection cleanup in GLCanvas3D::reset_volumes()
This commit is contained in:
parent
4c527776e7
commit
9a4a41acbf
1 changed files with 2 additions and 2 deletions
|
@ -2893,11 +2893,11 @@ void GLCanvas3D::reset_volumes()
|
||||||
return;
|
return;
|
||||||
#endif // !ENABLE_USE_UNIQUE_GLCONTEXT
|
#endif // !ENABLE_USE_UNIQUE_GLCONTEXT
|
||||||
|
|
||||||
m_volumes.release_geometry();
|
|
||||||
m_volumes.clear();
|
|
||||||
#if ENABLE_EXTENDED_SELECTION
|
#if ENABLE_EXTENDED_SELECTION
|
||||||
m_selection.clear();
|
m_selection.clear();
|
||||||
#endif // ENABLE_EXTENDED_SELECTION
|
#endif // ENABLE_EXTENDED_SELECTION
|
||||||
|
m_volumes.release_geometry();
|
||||||
|
m_volumes.clear();
|
||||||
m_dirty = true;
|
m_dirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue