diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-08-09 13:04:12 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-08-09 13:09:02 +0300 |
commit | 7ea577eef3e51799efe9fc286847f32b3611373e (patch) | |
tree | 817313102907d421b093a19637c8d68c2b999b49 /source/blender/depsgraph | |
parent | d6f162dfa946e8745276ba594c29ce48b299a760 (diff) |
Fix depsgraph check for tag during evaluation
- Only do print when asked for tags debugging.
- Add missing newline to the message.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index ab93464d09a..dd96c5a3b2b 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -646,8 +646,8 @@ void graph_id_tag_update( { const int debug_flags = (graph != nullptr) ? DEG_debug_flags_get((::Depsgraph *)graph) : G.debug; if (graph != nullptr && graph->is_evaluating) { - if (debug_flags & G_DEBUG_DEPSGRAPH) { - printf("ID tagged for update during dependency graph evaluation."); + if (debug_flags & G_DEBUG_DEPSGRAPH_TAG) { + printf("ID tagged for update during dependency graph evaluation.\n"); } return; } |