From 290e1fc528c40a3531f246c18dd72510fd57a174 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 5 Feb 2014 16:15:58 +0600 Subject: Add debug print to ID update tagging --- source/blender/blenkernel/intern/depsgraph.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/blenkernel/intern/depsgraph.c') diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c index e60505a2245..5f4bfc8ad23 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) -- cgit v1.2.3