mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-11 17:19:07 +08:00
New selection -> Fixed selection cleanup in GLCanvas3D::reset_volumes()
This commit is contained in:
parent
4c527776e7
commit
9a4a41acbf
@ -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…
x
Reference in New Issue
Block a user