forked from Mirrorlandia_minetest/minetest
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