diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-03-07 23:19:58 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-03-07 23:19:58 +0400 |
commit | e5464db95dc22b75f54839903bf1e9122042175e (patch) | |
tree | ab9bad8a749947a8a0cab285afe0ccc2159a2113 | |
parent | 541d239cdceced6067850053e707de3bb6a3c938 (diff) |
Fix for opengl render setting current frame to 0 after finish rendering.
-rw-r--r-- | source/blender/editors/render/render_opengl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/render/render_opengl.c b/source/blender/editors/render/render_opengl.c index 5a310fdb686..74b0c40b6fd 100644 --- a/source/blender/editors/render/render_opengl.c +++ b/source/blender/editors/render/render_opengl.c @@ -316,6 +316,7 @@ static int screen_opengl_render_init(bContext *C, wmOperator *op) oglrender->sizey= sizey; oglrender->bmain= CTX_data_main(C); oglrender->scene= scene; + oglrender->cfrao= scene->r.cfra; oglrender->write_still= is_write_still && !is_animation; |