diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-02-17 13:18:14 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-02-17 13:18:14 +0300 |
commit | 8cbdf89695c54fb63e9f1f94201469de909962c4 (patch) | |
tree | b5502f3cfc9c3bfa5c4dc1368322b950a1da3b1c | |
parent | 538d9180d3a5f26ad7c50d0c8c8b1e0d94bcc30f (diff) |
OpenGL playblasts now respect Preview Range, making it easier to
render out short segments of shots to be previewed with accurate
timing.
-rw-r--r-- | source/blender/editors/render/render_opengl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/render/render_opengl.c b/source/blender/editors/render/render_opengl.c index c2b2a0ad457..1f182723bc8 100644 --- a/source/blender/editors/render/render_opengl.c +++ b/source/blender/editors/render/render_opengl.c @@ -353,8 +353,8 @@ static int screen_opengl_render_anim_initialize(bContext *C, wmOperator *op) } oglrender->cfrao= scene->r.cfra; - oglrender->nfra= SFRA; - scene->r.cfra= SFRA; + oglrender->nfra= PSFRA; + scene->r.cfra= PSFRA; return 1; } @@ -437,7 +437,7 @@ static int screen_opengl_render_anim_step(bContext *C, wmOperator *op) scene->r.cfra++; /* stop at the end or on error */ - if(scene->r.cfra > EFRA || !ok) { + if(scene->r.cfra > PEFRA || !ok) { screen_opengl_render_end(C, op->customdata); return 0; } |