mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
clear unused visual shape data (was de-allocated at the end, not during each 'resetSimulation')
This commit is contained in:
parent
196d3248b4
commit
987b9541a5
@ -1011,6 +1011,7 @@ void TinyRendererVisualShapeConverter::resetAll()
|
||||
}
|
||||
|
||||
m_data->m_swRenderInstances.clear();
|
||||
m_data->m_visualShapes.clear();
|
||||
}
|
||||
|
||||
void TinyRendererVisualShapeConverter::activateShapeTexture(int shapeUniqueId, int textureUniqueId)
|
||||
|
Loading…
Reference in New Issue
Block a user