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
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
}