[Bf-blender-cvs] [b3c8ee8] master: Depsgraph: use more explicit parenthesis

Sergey Sharybin noreply at git.blender.org
Mon Nov 21 12:01:52 CET 2016


Commit: b3c8ee891ab95db75e1fc1493a916fa5349d0daa
Author: Sergey Sharybin
Date:   Mon Nov 21 11:05:56 2016 +0100
Branches: master
https://developer.blender.org/rBb3c8ee891ab95db75e1fc1493a916fa5349d0daa

Depsgraph: use more explicit parenthesis

===================================================================

M	source/blender/depsgraph/intern/builder/deg_builder.cc

===================================================================

diff --git a/source/blender/depsgraph/intern/builder/deg_builder.cc b/source/blender/depsgraph/intern/builder/deg_builder.cc
index 8a0bec5..51d1e08 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder.cc
@@ -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;




More information about the Bf-blender-cvs mailing list