diff options
author | Lars Hofhansl <larsh@apache.org> | 2017-02-04 16:35:54 -0800 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-02-09 00:10:41 +0000 |
commit | 3ad68c052bb4d58892b4d1e8cd6be59ea860df8f (patch) | |
tree | 54efff50688eed7ebc85dff7b2fe6c5d8ddce0f8 /src/clientmap.cpp | |
parent | a5ee7139a591eeffce5171e0df7a76f3c7a1d57e (diff) | |
download | minetest-3ad68c052bb4d58892b4d1e8cd6be59ea860df8f.tar.gz minetest-3ad68c052bb4d58892b4d1e8cd6be59ea860df8f.tar.bz2 minetest-3ad68c052bb4d58892b4d1e8cd6be59ea860df8f.zip |
Perform mesh animation only once per frame.
Diffstat (limited to 'src/clientmap.cpp')
-rw-r--r-- | src/clientmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |