aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEsteban I. Ruiz Moreno <exio4.com@gmail.com>2013-06-15 15:30:48 -0300
committerKahrl <kahrl@gmx.net>2013-06-18 01:11:46 +0200
commit816ffa99ba3e11eb5d5c50a21fe019bb657c48d3 (patch)
tree69448bb5adbf424710e2012c23f7c03962abd058 /src
parent0b20768a242851364ba645a99c24a85c23544f86 (diff)
downloadminetest-816ffa99ba3e11eb5d5c50a21fe019bb657c48d3.tar.gz
minetest-816ffa99ba3e11eb5d5c50a21fe019bb657c48d3.tar.bz2
minetest-816ffa99ba3e11eb5d5c50a21fe019bb657c48d3.zip
Remove useless recalculation of bounding box (mapblock_mesh)
Diffstat (limited to 'src')
-rw-r--r--src/mapblock_mesh.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mapblock_mesh.cpp b/src/mapblock_mesh.cpp
index 293d93a4c..be88b1973 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)
{