projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5ee713
)
Perform mesh animation only once per frame.
author
Lars Hofhansl
<larsh@apache.org>
Sun, 5 Feb 2017 00:35:54 +0000
(16:35 -0800)
committer
paramat
<mat.gregory@virginmedia.com>
Thu, 9 Feb 2017 00:10:41 +0000
(
00:10
+0000)
src/clientmap.cpp
patch
|
blob
|
history
diff --git
a/src/clientmap.cpp
b/src/clientmap.cpp
index 11719539fee7b2981fb569ec23caf7bb9b79e749..fb70a97e92f04ef58ab7845c498d4d396ce2dd9a 100644
(file)
--- 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);