diff options
author | est31 <MTest31@outlook.com> | 2015-06-30 21:14:28 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-06-30 21:14:28 +0200 |
commit | 370a33686ac6ce731c989bcd513aa351666ab5ae (patch) | |
tree | 02783a5b5d0dc959effabe2b67df89c8524cc7ba /src | |
parent | 842579eb8c31e6a5d4fb3a56413380b11b7252b7 (diff) | |
download | minetest-370a33686ac6ce731c989bcd513aa351666ab5ae.tar.gz minetest-370a33686ac6ce731c989bcd513aa351666ab5ae.tar.bz2 minetest-370a33686ac6ce731c989bcd513aa351666ab5ae.zip |
Defer minimap update when shape changed
Diffstat (limited to 'src')
-rw-r--r-- | src/minimap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/minimap.cpp b/src/minimap.cpp index 8fe8b466d..b26f8c665 100644 --- 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) |