Depsgraph: use more explicit parenthesis
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 21 Nov 2016 10:05:56 +0000 (11:05 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 21 Nov 2016 10:05:56 +0000 (11:05 +0100)
source/blender/depsgraph/intern/builder/deg_builder.cc

index 8a0bec5ed1d909d312d612d10e88597d73c959ec..51d1e08d70a93620407149ed71c610d27c8e3e16 100644 (file)
@@ -153,8 +153,8 @@ void deg_graph_build_finalize(Depsgraph *graph)
                GHASH_FOREACH_END();
 
                ID *id = id_node->id;
-               if (id->tag & LIB_TAG_ID_RECALC_ALL &&
-                   id->tag & LIB_TAG_DOIT)
+               if ((id->tag & LIB_TAG_ID_RECALC_ALL) &&
+                   (id->tag & LIB_TAG_DOIT))
                {
                        id_node->tag_update(graph);
                        id->tag &= ~LIB_TAG_DOIT;