summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-01 10:08:49 +0200
committerGitHub <noreply@github.com>2019-04-01 10:08:49 +0200
commitf6bbb08ae1f0f6df0f1ecf1e5b95091d781e54fa (patch)
tree6f2f614c028e8b470db6cb1da8a7a39c5d0c3ffa
parent5b00cd89d318a92e7970fbdf80d9fca424e15224 (diff)
parentbe5f35dfa00c79ab05595d08dca59dfc53912327 (diff)
Merge pull request #27080 from YeldhamDev/tilemap_remove_rect_dirty
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;
}