Fix #134025: Crash displaying asset from current file in asset shelf

Missing return, mistake in 7acd7e1246.
This commit is contained in:
Julian Eisel
2025-02-04 15:09:52 +01:00
parent 73b25ba12e
commit 9a8779e0d8

View File

@@ -65,6 +65,7 @@ void AssetRepresentation::ensure_previewable()
{
if (ID *id = this->local_id()) {
BKE_previewimg_id_ensure(id);
return;
}
ExternalAsset &extern_asset = std::get<ExternalAsset>(asset_);