summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-03-15 00:58:30 -0300
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-03-15 00:58:30 -0300
commitbe5f35dfa00c79ab05595d08dca59dfc53912327 (patch)
treeeb4c1c885836330499e984e4ce8d4dc864e8b3f6
parent775e74e0d41daa9cf3679c2e215f4ef46eee9cbc (diff)
Make size cache dirty when removing tiles in 'TileMap'
-rw-r--r--scene/2d/tile_map.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp
index ed0a9c4915..46b4f0a5d2 100644
--- a/scene/2d/tile_map.cpp
+++ b/scene/2d/tile_map.cpp
@@ -773,6 +773,7 @@ void TileMap::set_cell(int p_x, int p_y, int p_tile, bool p_flip_x, bool p_flip_
else
_make_quadrant_dirty(Q);
+ used_size_cache_dirty = true;
return;
}