Orange fix: Render OGL skipped last frame...
authorTon Roosendaal <ton@blender.org>
Tue, 24 Jan 2006 12:51:29 +0000 (12:51 +0000)
committerTon Roosendaal <ton@blender.org>
Tue, 24 Jan 2006 12:51:29 +0000 (12:51 +0000)
source/blender/src/renderwin.c

index 5f10ce38a6e1f7f2ecda338a9cddbd686e491687..69f0a9982859f32218cee605fbc606d18a6cfe5b 100644 (file)
@@ -1054,7 +1054,7 @@ void BIF_do_ogl_render(View3D *v3d, int anim)
                
                mh->start_movie(&G.scene->r, winx, winy);
                
-               for(CFRA= SFRA; CFRA<EFRA; CFRA++) {
+               for(CFRA= SFRA; CFRA<=EFRA; CFRA++) {
                        drawview3d_render(v3d, winx, winy);
                        glReadPixels(0, 0, winx, winy, GL_RGBA, GL_UNSIGNED_BYTE, rr->rect32);
                        window_swap_buffers(render_win->win);