Depsgraph: Remove direct call to VSE animation update
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 25 Oct 2017 12:30:56 +0000 (14:30 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 25 Oct 2017 12:30:56 +0000 (14:30 +0200)
This is supposed to be handled by dependency graph now.

source/blender/blenkernel/intern/scene.c

index 9b779afb7e01d9390e8eadb03ddbf01063a1ee65..3171fb099edccec66edeee3316b2c741a9785598 100644 (file)
@@ -1621,15 +1621,6 @@ void BKE_scene_update_tagged(EvaluationContext *eval_ctx, Main *bmain, Scene *sc
        /* update sound system animation (TODO, move to depsgraph) */
        BKE_sound_update_scene(bmain, scene);
 
-       /* extra call here to recalc scene animation (for sequencer) */
-       {
-               AnimData *adt = BKE_animdata_from_id(&scene->id);
-               float ctime = BKE_scene_frame_get(scene);
-               
-               if (adt && (adt->recalc & ADT_RECALC_ANIM))
-                       BKE_animsys_evaluate_animdata(scene, &scene->id, adt, ctime, 0);
-       }
-
        /* Inform editors about possible changes. */
        DEG_ids_check_recalc(bmain, scene, false);