Fix TileMap redrawing itself twice on creation
@@ -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