diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-01-09 11:27:40 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-01-09 11:29:31 +0300 |
commit | 8202c73ef467e8500a0ef127c35d3cb3d938aee1 (patch) | |
tree | f71adf5ce41818701a02239a06216ee5f08398c0 /source | |
parent | 969120258532b3a261d42eac9092f2bdfee5cd5f (diff) |
Fix (unreported) other joke in our localizing code - setting LIB_TAG_LOCAL tag!
This fake tag is zero, so it does not set anything - and it does not clear
indirect/extern ones either...
Diffstat (limited to 'source')
-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 1b73d02b8ed..67b6661ab0d 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -1663,7 +1663,7 @@ void id_clear_lib_data(Main *bmain, ID *id) id_fake_user_clear(id); id->lib = NULL; - id->tag |= LIB_TAG_LOCAL; + id->tag &= ~(LIB_TAG_INDIRECT | LIB_TAG_EXTERN); new_id(which_libbase(bmain, GS(id->name)), id, NULL); /* internal bNodeTree blocks inside ID types below |