From 9a8779e0d85a23b91c73fa41efc4cb8e7f942ce3 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Tue, 4 Feb 2025 15:09:52 +0100 Subject: [PATCH] Fix #134025: Crash displaying asset from current file in asset shelf Missing return, mistake in 7acd7e1246. --- source/blender/asset_system/intern/asset_representation.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/asset_system/intern/asset_representation.cc b/source/blender/asset_system/intern/asset_representation.cc index e7a1484ec80..7d6bfe6c95f 100644 --- a/source/blender/asset_system/intern/asset_representation.cc +++ b/source/blender/asset_system/intern/asset_representation.cc @@ -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(asset_);