[Bf-blender-cvs] [a08f633aeb3] blender2.8: Depsgraph: Remove direct call to VSE animation update
Sergey Sharybin
noreply at git.blender.org
Wed Oct 25 14:31:42 CEST 2017
Commit: a08f633aeb3f9955f33cd5396181afc96772f68b
Author: Sergey Sharybin
Date: Wed Oct 25 14:30:56 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBa08f633aeb3f9955f33cd5396181afc96772f68b
Depsgraph: Remove direct call to VSE animation update
This is supposed to be handled by dependency graph now.
===================================================================
M source/blender/blenkernel/intern/scene.c
===================================================================
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index 9b779afb7e0..3171fb099ed 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -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);
More information about the Bf-blender-cvs
mailing list