diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-10-17 13:19:03 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-10-17 13:19:03 +0400 |
commit | 71dae0cf40aed60e4eac1e1e4207ae2fc5cfc9a0 (patch) | |
tree | 8be024efea4cbd842b5540bda2852b517b445aef /source/blender/editors/space_clip/clip_editor.c | |
parent | 6e9c3a9abf9b75f87b98ad30560d4d62e954498e (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/clip_editor.c')
-rw-r--r-- | source/blender/editors/space_clip/clip_editor.c | 2 |
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; } |