diff options
author | kobewi <kobewi4e@gmail.com> | 2022-10-13 02:12:24 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-11-07 00:32:41 +0100 |
commit | f8f25adc0b8414d1de819d282087b3749469b88c (patch) | |
tree | 4945e53d586a6f146d2430717a9edae5a181b9fe /scene/2d/tile_map.h | |
parent | f814e15c7f60a685e8b3623fc93231c18ccd3627 (diff) | |
download | redot-engine-f8f25adc0b8414d1de819d282087b3749469b88c.tar.gz |
Don't free instanced scenes when recreating tiles
Diffstat (limited to 'scene/2d/tile_map.h')
-rw-r--r-- | scene/2d/tile_map.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/tile_map.h b/scene/2d/tile_map.h index 7f3e241871..a6048b3a96 100644 --- a/scene/2d/tile_map.h +++ b/scene/2d/tile_map.h @@ -236,6 +236,8 @@ private: void _clear_layer_internals(int p_layer); void _clear_internals(); + HashSet<Vector3i> instantiated_scenes; + // Rect caching. void _recompute_rect_cache(); |