Skip to content
Snippets Groups Projects
Commit b5ace9a0 authored by Perttu Ahola's avatar Perttu Ahola
Browse files

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

parent e56d1663
Branches
Tags
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment