Fix: Correction to previous commit

Asset representations shouldn't have an owner ID. They are owned by the
asset system, not the ID system.
This commit is contained in:
Julian Eisel 2025-06-12 17:03:38 +02:00
parent 3f9c943243
commit fbd8d30d63

View File

@ -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")) {