From 373e6aa17a059a48cdfa429bde4065c6ad0ce7b8 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Silva Dias Date: Fri, 15 Mar 2019 00:58:30 -0300 Subject: [PATCH] Make size cache dirty when removing tiles in 'TileMap' (cherry picked from commit be5f35dfa00c79ab05595d08dca59dfc53912327) --- scene/2d/tile_map.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp index ed0a9c4915d..46b4f0a5d23 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; }