diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-10-30 12:59:49 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-10-30 13:00:25 +0300 |
commit | c760285ae0176befca4464ce4804ada6ec963054 (patch) | |
tree | fb82de2998281364a6695dc039124db28ce8b94e /source/blender/blenkernel | |
parent | 4669c3692cc4f69660c673ceccce2245d5b9fed8 (diff) |
Add 'O' for Overrides to our key-coded ID UI-names generator.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 84aa0ed962b..f88614eb0ca 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -2531,7 +2531,7 @@ void BKE_libblock_rename(Main *bmain, ID *id, const char *name) */ void BKE_id_ui_prefix(char name[MAX_ID_NAME + 1], const ID *id) { - name[0] = id->lib ? (ID_MISSING(id) ? 'M' : 'L') : ' '; + name[0] = id->lib ? (ID_MISSING(id) ? 'M' : 'L') : ID_IS_STATIC_OVERRIDE(id) ? 'O' : ' '; name[1] = (id->flag & LIB_FAKEUSER) ? 'F' : ((id->us == 0) ? '0' : ' '); name[2] = ' '; |