Page MenuHome

VSE: Fix slow prefetching when strips are animated
ClosedPublic

Authored by Richard Antalik (ISS) on Apr 23 2021, 3:15 PM.

Details

Summary

This was caused by anim handle being reset by
DEG_evaluate_on_framechange()

Preserve anim handle by backing it up in
blender::deg::SequenceBackup

Diff Detail

Repository
rB Blender

Event Timeline

Richard Antalik (ISS) requested review of this revision.Apr 23 2021, 3:15 PM
Richard Antalik (ISS) created this revision.

The idea is correct. Some comments about using utility functions.

source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_sequence.cc
38

Use BLI_listbase_clear()

47

Similar to above :)

59

!BLI_listbase_is_empty(&anims)

Richard Antalik (ISS) marked 3 inline comments as done.
  • Address inlines
This revision is now accepted and ready to land.Apr 23 2021, 3:46 PM