From: Lars Hofhansl Date: Sun, 5 Feb 2017 00:35:54 +0000 (-0800) Subject: Perform mesh animation only once per frame. X-Git-Tag: 0.4.16~449 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3ad68c052bb4d58892b4d1e8cd6be59ea860df8f;p=oweals%2Fminetest.git Perform mesh animation only once per frame. --- diff --git a/src/clientmap.cpp b/src/clientmap.cpp index 11719539f..fb70a97e9 100644 --- a/src/clientmap.cpp +++ b/src/clientmap.cpp @@ -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);