Merge pull request #102664 from KoBeWi/calm_down_it's_just_a_missing_icon_bro

Silence missing icon error if UID cache is missing
This commit is contained in:
Thaddeus Crews 2025-02-10 12:21:28 -06:00
commit db986ee9e3
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84

View file

@ -502,6 +502,9 @@ ProjectList::Item ProjectList::load_project_data(const String &p_path, bool p_fa
if (icon.is_empty()) {
WARN_PRINT(vformat("Could not load icon from UID for project at path \"%s\". Make sure UID cache exists.", p_path));
}
} else {
// Cache does not exist yet, so ignore and fallback to default icon.
icon = "";
}
}