Fix #109781: Linked datablocks are keyable #109813
|
@ -1498,7 +1498,7 @@ int insert_keyframe(Main *bmain,
|
|||
}
|
||||
|
||||
if (!BKE_id_is_editable(bmain, id)) {
|
||||
BKE_reportf(reports, RPT_ERROR, "ID block for %s is not editable", rna_path);
|
||||
BKE_reportf(reports, RPT_ERROR, "'%s' on %s is not editable", rna_path, id->name + 2);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
AFAIK in the UI it's only "data-block", not "ID" or "ID block".
Do you think
BKE_reportf(reports, RPT_ERROR, "Data-block %s for %s is not editable", id->name+2, rna_path);
would work? It doesn't say what kind the data-block is (hence the+2
), but at least the name is explicit in the message.I just used ID block because it was used a few lines above that as well
But I changed it to e.g.
'location' on Cube is not editable
I had tried your solution but
Data-block Cube for location is not editable
sounded a bit weirdYeah, yours is much better!
can I get a green tick on this then? :D