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:
parent
3f9c943243
commit
fbd8d30d63
@ -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")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user