Make size cache dirty when removing tiles in 'TileMap'
(cherry picked from commit be5f35dfa0
)
This commit is contained in:
parent
695f1a9185
commit
373e6aa17a
|
@ -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
|
else
|
||||||
_make_quadrant_dirty(Q);
|
_make_quadrant_dirty(Q);
|
||||||
|
|
||||||
|
used_size_cache_dirty = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue