mirror of https://github.com/godotengine/godot
Silence missing icon error if UID cache is missing
This commit is contained in:
parent
261e7d32d3
commit
266b569641
|
|
@ -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 = "";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue