mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Perform mesh animation only once per frame.
This commit is contained in:
parent
a5ee7139a5
commit
3ad68c052b
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Mesh animation
|
// Mesh animation
|
||||||
{
|
if (pass == scene::ESNRP_SOLID) {
|
||||||
//MutexAutoLock lock(block->mesh_mutex);
|
//MutexAutoLock lock(block->mesh_mutex);
|
||||||
MapBlockMesh *mapBlockMesh = block->mesh;
|
MapBlockMesh *mapBlockMesh = block->mesh;
|
||||||
assert(mapBlockMesh);
|
assert(mapBlockMesh);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue