[Bf-blender-cvs] [e074204d2f1] master: Cleanup: use proper bitflag operators.
Bastien Montagne
noreply at git.blender.org
Wed Jan 30 11:50:16 CET 2019
Commit: e074204d2f17cad7ce11a7336ef89ba233735588
Author: Bastien Montagne
Date: Wed Jan 30 11:38:13 2019 +0100
Branches: master
https://developer.blender.org/rBe074204d2f17cad7ce11a7336ef89ba233735588
Cleanup: use proper bitflag operators.
===================================================================
M source/blender/blenkernel/intern/library.c
===================================================================
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;
}
}
More information about the Bf-blender-cvs
mailing list