You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On line 207 of qtopengl_widget.cpp, there is an assumption that vecEntities has not changed and that SelectionInfo.Index is always valid over the collection. This does not always hold, and SelectionInfo.Index can be out of range if, for instance, entities are removed from CSpace::m_vecRootEntities during a CLoopFunctions::Reset
One quick fix could be to check if the size of the vector has changed between calls to DrawScene? Or perhaps CSpace could contain a flag indicating that m_vecRootEntities has changed and visualizations can consequently drop any selection info.
The text was updated successfully, but these errors were encountered:
On line 207 of qtopengl_widget.cpp, there is an assumption that vecEntities has not changed and that SelectionInfo.Index is always valid over the collection. This does not always hold, and SelectionInfo.Index can be out of range if, for instance, entities are removed from CSpace::m_vecRootEntities during a CLoopFunctions::Reset
One quick fix could be to check if the size of the vector has changed between calls to DrawScene? Or perhaps CSpace could contain a flag indicating that m_vecRootEntities has changed and visualizations can consequently drop any selection info.
The text was updated successfully, but these errors were encountered: