Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove useless recalculation of bounding box (mapblock_mesh)
  • Loading branch information
EXio4 authored and kahrl committed Jun 17, 2013
1 parent 0b20768 commit 816ffa9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mapblock_mesh.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit 816ffa9

Please sign in to comment.