Use meaningful debug name for render depsgraph

This commit is contained in:
Sergey Sharybin
2018-05-02 16:26:12 +02:00
parent 6560a96232
commit 7c32ef84aa

View 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);
}