Depsgraph: Remove debug only code

This commit is contained in:
Sergey Sharybin 2017-11-22 12:07:38 +01:00
parent 66c0f041a9
commit 4e6f86942c
1 changed files with 0 additions and 5 deletions

View File

@ -443,11 +443,6 @@ static void render_set_depgraph(bContext *C, Render *re)
SceneLayer *scene_layer = scene->render_layers.first;
Depsgraph *depsgraph = BKE_scene_get_depsgraph(scene, scene_layer, true);
DEG_graph_relations_update(depsgraph, bmain, scene, scene_layer);
{
FILE *stream = fopen("/home/sergey/deg.dot", "w");
DEG_debug_graphviz(depsgraph, stream, "", false);
fclose(stream);
}
DEG_graph_on_visible_update(bmain, depsgraph);
RE_SetDepsgraph(re, depsgraph);