From 987b9541a56d2ad228ca48d07e9db282e3cac8a6 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Sun, 14 May 2017 11:09:32 -0700 Subject: [PATCH] clear unused visual shape data (was de-allocated at the end, not during each 'resetSimulation') --- examples/SharedMemory/TinyRendererVisualShapeConverter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/SharedMemory/TinyRendererVisualShapeConverter.cpp b/examples/SharedMemory/TinyRendererVisualShapeConverter.cpp index c892884d2..c8d4b92e7 100644 --- a/examples/SharedMemory/TinyRendererVisualShapeConverter.cpp +++ b/examples/SharedMemory/TinyRendererVisualShapeConverter.cpp @@ -1011,6 +1011,7 @@ void TinyRendererVisualShapeConverter::resetAll() } m_data->m_swRenderInstances.clear(); + m_data->m_visualShapes.clear(); } void TinyRendererVisualShapeConverter::activateShapeTexture(int shapeUniqueId, int textureUniqueId)