diff options
Diffstat (limited to 'source/blender/editors/space_clip/clip_editor.c')
-rw-r--r-- | source/blender/editors/space_clip/clip_editor.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/space_clip/clip_editor.c b/source/blender/editors/space_clip/clip_editor.c index 1ee8d21624e..80e8f0d741e 100644 --- a/source/blender/editors/space_clip/clip_editor.c +++ b/source/blender/editors/space_clip/clip_editor.c @@ -1040,7 +1040,7 @@ static int prefetch_get_final_frame(const bContext *C) int end_frame; /* check whether all the frames from prefetch range are cached */ - end_frame = min_ii(sc->user.framenr + U.prefetchframes - 1, EFRA); + end_frame = EFRA; if (clip->len) end_frame = min_ii(end_frame, clip->len); @@ -1059,10 +1059,6 @@ static bool prefetch_check_early_out(const bContext *C) if (clip->prefetch_ok) return true; - /* prefetch is disabled in user preferences */ - if (U.prefetchframes == 0) - return true; - clip_len = BKE_movieclip_get_duration(clip); /* check whether all the frames from prefetch range are cached */ |