mirror of
https://github.com/minetest/minetest.git
synced 2024-12-28 00:47:29 +01:00
Made mesh update on node removal asynchronous on client, to reduce frametime spikes
This commit is contained in:
parent
e56d166337
commit
b5ace9a064
@ -1780,7 +1780,8 @@ void Client::removeNode(v3s16 p)
|
||||
i.atEnd() == false; i++)
|
||||
{
|
||||
v3s16 p = i.getNode()->getKey();
|
||||
m_env.getClientMap().updateMeshes(p, m_env.getDayNightRatio());
|
||||
//m_env.getClientMap().updateMeshes(p, m_env.getDayNightRatio());
|
||||
addUpdateMeshTaskWithEdge(p);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user