Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-02-05 14:15:58 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-02-05 21:46:01 +0400
commit290e1fc528c40a3531f246c18dd72510fd57a174 (patch)
tree32acb1a0449b60b61d0c7c17c6ef068a1535399b /source/blender/blenkernel/intern/depsgraph.c
parent0b63704c304270a4b4fa9d7235faa95e84afa194 (diff)
Add debug print to ID update tagging
Diffstat (limited to 'source/blender/blenkernel/intern/depsgraph.c')
-rw-r--r--source/blender/blenkernel/intern/depsgraph.c4
1 files changed, 4 insertions, 0 deletions
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)