Fix #134025: Crash displaying asset from current file in asset shelf
Missing return, mistake in 7acd7e1246.
This commit is contained in:
@@ -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_);
|
||||
|
||||
Reference in New Issue
Block a user