diff --git a/Extras/Serialize/BulletWorldImporter/btBulletWorldImporter.cpp b/Extras/Serialize/BulletWorldImporter/btBulletWorldImporter.cpp index 7a4c04b80..32339e35e 100644 --- a/Extras/Serialize/BulletWorldImporter/btBulletWorldImporter.cpp +++ b/Extras/Serialize/BulletWorldImporter/btBulletWorldImporter.cpp @@ -124,7 +124,8 @@ btTriangleIndexVertexArray* btBulletWorldImporter::createMeshInterface(btStridin meshPart.m_numTriangles = meshData.m_meshPartsPtr[i].m_numTriangles; meshPart.m_numVertices = meshData.m_meshPartsPtr[i].m_numVertices; - meshInterface->addIndexedMesh(meshPart); + + meshInterface->addIndexedMesh(meshPart,meshPart.m_indexType); } return meshInterface;