Made mesh update on node removal asynchronous on client, to reduce frametime spikes

This commit is contained in:
Perttu Ahola 2011-04-06 11:01:55 +03:00
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);
}
}