Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-10-17 13:19:03 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-10-17 13:19:03 +0400
commit71dae0cf40aed60e4eac1e1e4207ae2fc5cfc9a0 (patch)
tree8be024efea4cbd842b5540bda2852b517b445aef /source/blender/editors/space_clip
parent6e9c3a9abf9b75f87b98ad30560d4d62e954498e (diff)
Fix #37119: MCE: Prefetching doesn't fetch last frame of an image-sequence.
Silly mistake in final condition. Now it works fine. Would be nice to have this for the final release, simple oneliner.
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r--source/blender/editors/space_clip/clip_editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/clip_editor.c b/source/blender/editors/space_clip/clip_editor.c
index f5db34d87d7..3d7450a3132 100644
--- a/source/blender/editors/space_clip/clip_editor.c
+++ b/source/blender/editors/space_clip/clip_editor.c
@@ -711,7 +711,7 @@ static unsigned char *prefetch_thread_next_frame(PrefetchQueue *queue, MovieClip
current_frame = prefetch_find_uncached_frame(clip, queue->current_frame + 1, queue->end_frame,
queue->render_size, queue->render_flag, 1);
/* switch direction if read frames from current up to scene end frames */
- if (current_frame >= queue->end_frame) {
+ if (current_frame > queue->end_frame) {
queue->current_frame = queue->initial_frame;
queue->direction = -1;
}