Make size cache dirty when removing tiles in 'TileMap'

(cherry picked from commit be5f35dfa0)
This commit is contained in:
Michael Alexsander Silva Dias 2019-03-15 00:58:30 -03:00 committed by Rémi Verschelde
parent 695f1a9185
commit 373e6aa17a
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}