[Bf-blender-cvs] [9c029a3eb0f] master: Fix T98621: Image does not update when tweaking strip properties
Richard Antalik
noreply at git.blender.org
Tue Jun 7 17:07:34 CEST 2022
Commit: 9c029a3eb0fa15d7e45e6153af24d7d0fcade201
Author: Richard Antalik
Date: Tue Jun 7 17:02:40 2022 +0200
Branches: master
https://developer.blender.org/rB9c029a3eb0fa15d7e45e6153af24d7d0fcade201
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.
===================================================================
M source/blender/sequencer/intern/image_cache.c
===================================================================
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);
}
}
More information about the Bf-blender-cvs
mailing list