Commit: 2387be5ed986dda78703b6df4f02c248a9d1dac9
Author: Sergey Sharybin
Date:   Mon Jan 5 23:27:35 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rB2387be5ed986dda78703b6df4f02c248a9d1dac9

Depsgraph: Add debug print to DEG_id_tag_update_ex

Not as if it's something super-informative, but handy to have.

And allowed to know for sure if some missing updates is a result of
missing update tag or issues with partial updates.

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

M       source/blender/depsgraph/intern/depsgraph_tag.cpp

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

diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cpp 
b/source/blender/depsgraph/intern/depsgraph_tag.cpp
index 5be80a4..e9d41bf 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cpp
@@ -54,6 +54,7 @@ unsigned int BKE_screen_visible_layers(bScreen *screen, Scene 
*scene);
 #include "DEG_depsgraph.h"
 
 #include "depsgraph.h"
+#include "depsgraph_debug.h"
 #include "depsnode.h"
 #include "depsnode_component.h"
 #include "depsnode_operation.h"
@@ -142,6 +143,7 @@ void DEG_id_tag_update(ID *id, short flag)
 
 void DEG_id_tag_update_ex(Main *bmain, ID *id, short flag)
 {
+       deg_debug_printf("%s: id=%s flag=%d\n", id->name, flag);
        lib_id_recalc_tag_flag(bmain, id, flag);
        for (Scene *scene = (Scene *)bmain->scene.first;
             scene != NULL;

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

Reply via email to