diff options
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index 30d37629e31..0fc26a89d3d 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -2728,6 +2728,13 @@ void BKE_sequence_invalidate_cache(Scene *scene, Sequence *seq) if (cur->machine < seq->machine) continue; + /* sequence is not blending with lower machines, no need to invalidate */ + if ((cur->blend_mode == SEQ_BLEND_REPLACE) || + (cur->blend_mode == SEQ_TYPE_CROSS && cur->blend_opacity == 100.0f)) + { + continue; + } + BKE_sequencer_cache_cleanup_sequence(cur); } SEQ_END |