Skip to content

Commit

Permalink
Perform mesh animation only once per frame.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhofhansl authored and paramat committed Feb 9, 2017
1 parent a5ee713 commit 3ad68c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clientmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3ad68c0

Please sign in to comment.