Merge pull request #69806 from iamtoaster/fix-69754
Fix TileMap redrawing itself twice on creation
This commit is contained in:
commit
3cffd70eea
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue