Use meaningful debug name for render depsgraph
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 2 May 2018 14:26:12 +0000 (16:26 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 2 May 2018 15:09:44 +0000 (17:09 +0200)
source/blender/render/intern/source/external_engine.c

index c75574cd09de614465f85f90872f70b26dfe5441..1cdf4d3495b102050077cbbe7c73c0b0c94eecc7 100644 (file)
@@ -52,6 +52,7 @@
 #include "BKE_scene.h"
 
 #include "DEG_depsgraph.h"
+#include "DEG_depsgraph_debug.h"
 #include "DEG_depsgraph_query.h"
 
 #include "RNA_access.h"
@@ -505,6 +506,7 @@ static void engine_depsgraph_init(RenderEngine *engine, ViewLayer *view_layer)
        Scene *scene = engine->re->scene;
 
        engine->depsgraph = DEG_graph_new(scene, view_layer, DAG_EVAL_RENDER);
+       DEG_debug_name_set(engine->depsgraph, "RENDER");
 
        BKE_scene_graph_update_tagged(engine->depsgraph, bmain);
 }