Merge pull request #69806 from iamtoaster/fix-69754

Fix TileMap redrawing itself twice on creation
This commit is contained in:
Rémi Verschelde 2022-12-09 18:05:13 +01:00
commit 3cffd70eea
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -995,9 +995,11 @@ void TileMap::_recompute_rect_cache() {
}
}
bool changed = rect_cache != r_total;
rect_cache = r_total;
item_rect_changed();
item_rect_changed(changed);
rect_cache_dirty = false;
#endif