projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
842579e
)
Defer minimap update when shape changed
author
est31
<MTest31@outlook.com>
Tue, 30 Jun 2015 19:14:28 +0000
(21:14 +0200)
committer
est31
<MTest31@outlook.com>
Tue, 30 Jun 2015 19:14:28 +0000
(21:14 +0200)
src/minimap.cpp
patch
|
blob
|
history
diff --git
a/src/minimap.cpp
b/src/minimap.cpp
index 8fe8b466d40a4cd985372d45d7717688b29618c1..b26f8c665dd07e78a30643cb7b1374059f984a8d 100644
(file)
--- a/
src/minimap.cpp
+++ b/
src/minimap.cpp
@@
-273,6
+273,7
@@
void Mapper::toggleMinimapShape()
{
data->minimap_shape_round = !data->minimap_shape_round;
g_settings->setBool(("minimap_shape_round"), data->minimap_shape_round);
+ m_minimap_update_thread->deferUpdate();
}
void Mapper::setMinimapMode(MinimapMode mode)