[Bf-blender-cvs] [290e1fc] master: Add debug print to ID update tagging

Sergey Sharybin noreply at git.blender.org
Wed Feb 5 18:46:54 CET 2014


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)




More information about the Bf-blender-cvs mailing list