Commit: 290e1fc528c40a3531f246c18dd72510fd57a174
Author: Sergey Sharybin
Date:   Wed Feb 5 16:15:58 2014 +0600
https://developer.blender.org/rB290e1fc528c40a3531f246c18dd72510fd57a174

Add debug print to ID update tagging

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

M       source/blender/blenkernel/intern/depsgraph.c

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

diff --git a/source/blender/blenkernel/intern/depsgraph.c 
b/source/blender/blenkernel/intern/depsgraph.c
index e60505a..5f4bfc8 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -2574,6 +2574,10 @@ void DAG_id_tag_update_ex(Main *bmain, ID *id, short 
flag)
 {
        if (id == NULL) return;
 
+       if (G.debug & G_DEBUG_DEPSGRAPH) {
+               printf("%s: id=%s flag=%d\n", __func__, id->name, flag);
+       }
+
        /* tag ID for update */
        if (flag) {
                if (flag & OB_RECALC_OB)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to