mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Made mesh update on node removal asynchronous on client, to reduce frametime spikes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user