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...
This commit is contained in:
Bastien Montagne 2016-01-09 09:27:40 +01:00
parent 9691202585
commit 8202c73ef4
1 changed files with 1 additions and 1 deletions

View File

@ -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