From 816ffa99ba3e11eb5d5c50a21fe019bb657c48d3 Mon Sep 17 00:00:00 2001 From: "Esteban I. Ruiz Moreno" Date: Sat, 15 Jun 2013 15:30:48 -0300 Subject: [PATCH] Remove useless recalculation of bounding box (mapblock_mesh) --- src/mapblock_mesh.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mapblock_mesh.cpp b/src/mapblock_mesh.cpp index 293d93a4..be88b197 100644 --- a/src/mapblock_mesh.cpp +++ b/src/mapblock_mesh.cpp @@ -1199,7 +1199,6 @@ MapBlockMesh::MapBlockMesh(MeshMakeData *data): */ translateMesh(m_mesh, intToFloat(data->m_blockpos * MAP_BLOCKSIZE, BS)); - m_mesh->recalculateBoundingBox(); // translateMesh already does this if(m_mesh) {