[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60814] trunk/blender/source/blender/ editors/space_clip/clip_editor.c: Fix #37119: MCE: Prefetching doesn' t fetch last frame of an image-sequence.

Sergey Sharybin sergey.vfx at gmail.com
Thu Oct 17 11:19:03 CEST 2013


Revision: 60814
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60814
Author:   nazgul
Date:     2013-10-17 09:19:03 +0000 (Thu, 17 Oct 2013)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_clip/clip_editor.c

Modified: trunk/blender/source/blender/editors/space_clip/clip_editor.c
===================================================================
--- trunk/blender/source/blender/editors/space_clip/clip_editor.c	2013-10-17 09:02:03 UTC (rev 60813)
+++ trunk/blender/source/blender/editors/space_clip/clip_editor.c	2013-10-17 09:19:03 UTC (rev 60814)
@@ -711,7 +711,7 @@
 			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;
 			}




More information about the Bf-blender-cvs mailing list