From e2e5c9a1ee1d2bf4b648b1dacfebba4b2e13d9cc Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 25 Oct 2017 14:02:51 +0200 Subject: [PATCH] Depsgraph: Mark TODO as solved New dependency graph takes care of all datablocks already. --- source/blender/blenkernel/intern/scene.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index f0c727b33ac..9b779afb7e0 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -1614,10 +1614,8 @@ void BKE_scene_update_tagged(EvaluationContext *eval_ctx, Main *bmain, Scene *sc BKE_main_id_tag_idcode(bmain, ID_LA, LIB_TAG_DOIT, false); /* update all objects: drivers, matrices, displists, etc. flags set - * by depgraph or manual, no layer check here, gets correct flushed - * - * in the future this should handle updates for all datablocks, not - * only objects and scenes. - brecht */ + * by depgraph or manual, no layer check here, gets correct flushed. + */ DEG_evaluate_on_refresh(eval_ctx, scene->depsgraph_legacy); /* update sound system animation (TODO, move to depsgraph) */