diff options
author | Julian Eisel <julian@blender.org> | 2020-06-10 16:08:23 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-06-10 16:52:10 +0300 |
commit | d62bbf40793234a3cfc3762720f0964f85206169 (patch) | |
tree | 1aa1f7828ec6fcb4df01c484ab45ac78b9a5c624 /source/blender/makesrna | |
parent | 93c8955a722ba3f2022b92a2f8befaadc467756a (diff) |
UI: Show library names grayed out and right-aligned in menus
Should separate the data-block name better from the library name and improve
readability.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_ID.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index 56be654639f..e0d862ee92a 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -184,14 +184,14 @@ static int rna_ID_name_editable(PointerRNA *ptr, const char **UNUSED(r_info)) void rna_ID_name_full_get(PointerRNA *ptr, char *value) { ID *id = (ID *)ptr->data; - BKE_id_full_name_get(value, id); + BKE_id_full_name_get(value, id, 0); } int rna_ID_name_full_length(PointerRNA *ptr) { ID *id = (ID *)ptr->data; char name[MAX_ID_FULL_NAME]; - BKE_id_full_name_get(name, id); + BKE_id_full_name_get(name, id, 0); return strlen(name); } |