diff options
author | Richard Antalik <richardantalik@gmail.com> | 2022-06-07 18:02:40 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2022-06-07 18:02:40 +0300 |
commit | 9c029a3eb0fa15d7e45e6153af24d7d0fcade201 (patch) | |
tree | f39e6173e506d9432d9c70cf8edf7c6603942793 /source/blender/sequencer/intern | |
parent | e62a33e57256cb772e6dfce9ba7a3a58c3c08b0a (diff) |
Fix T98621: Image does not update when tweaking strip properties
Problem was caused by `startdisp` and `enddisp` still being used after changes
implemented in rB7afcfe111aac.
Diffstat (limited to 'source/blender/sequencer/intern')
-rw-r--r-- | source/blender/sequencer/intern/image_cache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/sequencer/intern/image_cache.c b/source/blender/sequencer/intern/image_cache.c index 59de24930d6..e097de237f2 100644 --- a/source/blender/sequencer/intern/image_cache.c +++ b/source/blender/sequencer/intern/image_cache.c @@ -640,12 +640,12 @@ void seq_cache_cleanup_sequence(Scene *scene, int range_end = SEQ_time_right_handle_frame_get(seq_changed); if (!force_seq_changed_range) { - if (seq->startdisp > range_start) { - range_start = seq->startdisp; + if (SEQ_time_left_handle_frame_get(seq) > range_start) { + range_start = SEQ_time_left_handle_frame_get(seq); } - if (seq->enddisp < range_end) { - range_end = seq->enddisp; + if (SEQ_time_right_handle_frame_get(seq) < range_end) { + range_end = SEQ_time_right_handle_frame_get(seq); } } |