Perform mesh animation only once per frame.

This commit is contained in:
Lars Hofhansl 2017-02-04 16:35:54 -08:00 committed by paramat
parent a5ee7139a5
commit 3ad68c052b
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
continue;
// Mesh animation
{
if (pass == scene::ESNRP_SOLID) {
//MutexAutoLock lock(block->mesh_mutex);
MapBlockMesh *mapBlockMesh = block->mesh;
assert(mapBlockMesh);