diff --git a/source/gameengine/Rasterizer/RAS_Mesh.cpp b/source/gameengine/Rasterizer/RAS_Mesh.cpp index 12af28c05b0c..aaf5790fa7ae 100644 --- a/source/gameengine/Rasterizer/RAS_Mesh.cpp +++ b/source/gameengine/Rasterizer/RAS_Mesh.cpp @@ -277,7 +277,7 @@ void RAS_Mesh::EndConversion(RAS_BoundingBoxManager *boundingBoxManager) startIndex += indexCount; } - m_numPolygons = startIndex; + m_numPolygons = startIndex / 3; } const RAS_Mesh::LayersInfo& RAS_Mesh::GetLayersInfo() const