diff options
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r-- | source/blender/editors/render/render_preview.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/editors/render/render_preview.c b/source/blender/editors/render/render_preview.c index 03742b489a1..4afcc5f661e 100644 --- a/source/blender/editors/render/render_preview.c +++ b/source/blender/editors/render/render_preview.c @@ -490,12 +490,6 @@ static Scene *preview_prepare_scene(Main *bmain, Scene *scene, ID *id, int id_ty } } - Depsgraph *depsgraph = BKE_scene_get_depsgraph(sce, view_layer, true); - /* TODO(sergey): Use proper flag for tagging here. */ - DEG_graph_id_tag_update(pr_main, depsgraph, &sce->id, 0); - DEG_relations_tag_update(pr_main); - BKE_scene_graph_update_tagged(depsgraph, pr_main); - return sce; } |