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>2017-10-25 15:51:02 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-10-25 15:51:02 +0300
commit43533076073dcbac04f1b59fb2b4a519a2755aee (patch)
treeeab4eaf9764c21120130df7a33b260533596e2da /source/blender/blenkernel
parentdb83f41bafacb429e8fb24ccc509aa91f5744146 (diff)
Depsgraph: Make validation to take explicit graph to be checked
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/scene.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index 20611c18a5c..72a953627ca 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -99,6 +99,7 @@
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_build.h"
+#include "DEG_depsgraph_debug.h"
#include "DEG_depsgraph_query.h"
#include "RE_engine.h"
@@ -1590,10 +1591,9 @@ void BKE_scene_update_tagged(EvaluationContext *eval_ctx, Main *bmain, Scene *sc
{
/* (re-)build dependency graph if needed */
DEG_scene_relations_update(bmain, scene);
+
/* Uncomment this to check if graph was properly tagged for update. */
-#if 0
- DEG_scene_relations_validate(bmain, scene);
-#endif
+ // DEG_debug_graph_relations_validate(scene->depsgraph_legacy, bmain, scene);
/* flush editing data if needed */
prepare_mesh_for_viewport_render(bmain, scene);