diff options
author | Richard Antalik <richardantalik@gmail.com> | 2020-04-27 01:34:10 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2020-04-27 01:51:44 +0300 |
commit | d0d16eb7d347d26c5e26b3503e4852a6265858d8 (patch) | |
tree | bc00917a00e93e67847fd3181964be23db367856 | |
parent | c13ad410a66eb2ab7f2976fca8322f726eef6203 (diff) |
Fix T74346 VSE: Prefetching doesn't work properly with property animations
Make sure depsgraph was updated before evaluating the animation.
Reviewed By: ISS
Differential Revision: https://developer.blender.org/D7467
-rw-r--r-- | source/blender/blenkernel/intern/seqprefetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/seqprefetch.c b/source/blender/blenkernel/intern/seqprefetch.c index 1bd02212908..67ed40cd48f 100644 --- a/source/blender/blenkernel/intern/seqprefetch.c +++ b/source/blender/blenkernel/intern/seqprefetch.c @@ -331,6 +331,7 @@ static void *seq_prefetch_frames(void *job) while (pfjob->cfra + pfjob->num_frames_prefetched <= pfjob->scene->r.efra) { pfjob->scene_eval->ed->prefetch_job = NULL; + seq_prefetch_update_depsgraph(pfjob); AnimData *adt = BKE_animdata_from_id(&pfjob->context_cpy.scene->id); BKE_animsys_evaluate_animdata(pfjob->context_cpy.scene, &pfjob->context_cpy.scene->id, @@ -338,7 +339,6 @@ static void *seq_prefetch_frames(void *job) pfjob->cfra + pfjob->num_frames_prefetched, ADT_RECALC_ALL, false); - seq_prefetch_update_depsgraph(pfjob); /* This is quite hacky solution: * We need cross-reference original scene with copy for cache. |