Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-01-30 13:38:13 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-01-30 13:38:13 +0300
commite074204d2f17cad7ce11a7336ef89ba233735588 (patch)
tree1d820f3c687b2f4ca7e0b7cb7fe770551e6f8d9b /source
parent25f02840904225184c01143f816d93b9cda0a64a (diff)
Cleanup: use proper bitflag operators.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index 1583f47adac..a933bd939e8 100644
--- a/source/blender/blenkernel/intern/library.c
+++ b/source/blender/blenkernel/intern/library.c
@@ -166,7 +166,7 @@ void id_lib_extern(ID *id)
if (id && ID_IS_LINKED(id)) {
BLI_assert(BKE_idcode_is_linkable(GS(id->name)));
if (id->tag & LIB_TAG_INDIRECT) {
- id->tag -= LIB_TAG_INDIRECT;
+ id->tag &= ~LIB_TAG_INDIRECT;
id->tag |= LIB_TAG_EXTERN;
}
}