From be5f35dfa00c79ab05595d08dca59dfc53912327 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Silva Dias Date: Fri, 15 Mar 2019 00:58:30 -0300 Subject: Make size cache dirty when removing tiles in 'TileMap' --- 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 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; } -- cgit v1.2.3