diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2019-03-15 00:58:30 -0300 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2019-03-15 00:58:30 -0300 |
commit | be5f35dfa00c79ab05595d08dca59dfc53912327 (patch) | |
tree | eb4c1c885836330499e984e4ce8d4dc864e8b3f6 /scene | |
parent | 775e74e0d41daa9cf3679c2e215f4ef46eee9cbc (diff) |
Make size cache dirty when removing tiles in 'TileMap'
Diffstat (limited to 'scene')
-rw-r--r-- | scene/2d/tile_map.cpp | 1 |
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; } |