projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e56d166
)
Made mesh update on node removal asynchronous on client, to reduce frametime spikes
author
Perttu Ahola
<celeron55@gmail.com>
Wed, 6 Apr 2011 08:01:55 +0000
(11:01 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Wed, 6 Apr 2011 08:01:55 +0000
(11:01 +0300)
src/client.cpp
patch
|
blob
|
history
diff --git
a/src/client.cpp
b/src/client.cpp
index 82e90704a67a365796342599a2ce7af585f21d90..d22f93ac215a26ef4aa96c0474f1fa46264ae4bb 100644
(file)
--- a/
src/client.cpp
+++ b/
src/client.cpp
@@
-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);
}
}