mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-09 14:21:58 +00:00
Merge pull request #69806 from iamtoaster/fix-69754
Fix TileMap redrawing itself twice on creation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user