diff --git a/Extras/Serialize/BulletWorldImporter/btBulletWorldImporter.cpp b/Extras/Serialize/BulletWorldImporter/btBulletWorldImporter.cpp index e3e363b8d..3714f4817 100644 --- a/Extras/Serialize/BulletWorldImporter/btBulletWorldImporter.cpp +++ b/Extras/Serialize/BulletWorldImporter/btBulletWorldImporter.cpp @@ -123,27 +123,32 @@ void btBulletWorldImporter::deleteAllData() { btAlignedFree(m_indexArrays[i]); } + m_indexArrays.clear(); for (i=0;i