Page MenuHome

Fix T79922: Cache of meta strip not invalidated
ClosedPublic

Authored by Richard Antalik (ISS) on Jan 25 2021, 10:57 AM.

Details

Summary

Meta strip cache is not invalidated if strip inside of meta strip is
invalidated.

Find all metastrips that contain invalidated strip and invalidate them
recursively.

Diff Detail

Repository
rB Blender
Branch
T79922 (branched from master)
Build Status
Buildable 12360
Build 12360: arc lint + arc unit

Event Timeline

Richard Antalik (ISS) requested review of this revision.Jan 25 2021, 10:57 AM
source/blender/sequencer/intern/strip_relations.c
146–151

Seems like the code will not work correct if there are multiple metas which contain invalidated_seq.

Richard Antalik (ISS) marked an inline comment as done.Jan 25 2021, 12:37 PM
Richard Antalik (ISS) added inline comments.
source/blender/sequencer/intern/strip_relations.c
146–151

That must never happen - it is forbidden by design

One thing i've missed in the original comment, why SEQ_relations_invalidate_cache_in_range does not invalidate metas?

source/blender/sequencer/intern/strip_relations.c
146–151

Ah, right. Got confused with something else.

Richard Antalik (ISS) marked an inline comment as done.
  • Invalidate metas also with SEQ_relations_invalidate_cache_in_range
This revision is now accepted and ready to land.Jan 26 2021, 9:50 AM