From fbd8d30d63ed5b0aadcbfc624d7a13b8d92f27fe Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Thu, 12 Jun 2025 17:03:38 +0200 Subject: [PATCH] Fix: Correction to previous commit Asset representations shouldn't have an owner ID. They are owned by the asset system, not the ID system. --- source/blender/editors/space_file/file_context.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/space_file/file_context.cc b/source/blender/editors/space_file/file_context.cc index 51ea4143b25..1327dd2bfff 100644 --- a/source/blender/editors/space_file/file_context.cc +++ b/source/blender/editors/space_file/file_context.cc @@ -87,7 +87,7 @@ int /*eContextResult*/ file_context(const bContext *C, return CTX_RESULT_NO_DATA; } - CTX_data_pointer_set(result, &screen->id, &RNA_AssetRepresentation, file->asset); + CTX_data_pointer_set(result, nullptr, &RNA_AssetRepresentation, file->asset); return CTX_RESULT_OK; } if (CTX_data_equals(member, "selected_assets")) {