Cleanup: Remove redundant asset loading icon handling

Since 1f88645728 the loading icon is managed by the UI code, no need to
explicitly set it here.
This commit is contained in:
Julian Eisel
2025-02-03 16:47:46 +01:00
parent 2ea843d141
commit 0225c4635d

View File

@@ -43,11 +43,6 @@ std::string asset_tooltip(const asset_system::AssetRepresentation &asset, const
BIFIconID asset_preview_icon_id(const asset_system::AssetRepresentation &asset)
{
if (const PreviewImage *preview = asset.get_preview()) {
if (!BKE_previewimg_is_finished(preview, ICON_SIZE_PREVIEW)) {
/* Loading icon. */
return ICON_TEMP;
}
if (!BKE_previewimg_is_invalid(preview)) {
return preview->runtime->icon_id;
}