diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-02 12:34:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-02 12:34:32 +0300 |
commit | f130d4c0a7d1b174454e423f3cdf753e12a09dce (patch) | |
tree | 4b99f0e763179b8cd37e5ed0bdf5cb7d19906975 /source/blender/editors/render/render_opengl.c | |
parent | ca3ade6ac483a529cf895610c7d2c1b5c351fb1a (diff) |
bugfix [#24455] Scene is left at last rendered frame from rendering an animation
Diffstat (limited to 'source/blender/editors/render/render_opengl.c')
-rw-r--r-- | source/blender/editors/render/render_opengl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/render/render_opengl.c b/source/blender/editors/render/render_opengl.c index ef56a596855..eb24919f99b 100644 --- a/source/blender/editors/render/render_opengl.c +++ b/source/blender/editors/render/render_opengl.c @@ -347,7 +347,7 @@ static int screen_opengl_render_anim_step(bContext *C, wmOperator *op) /* update animated image textures for gpu, etc, * call before scene_update_for_newframe so modifiers with textuers dont lag 1 frame */ - ED_image_update_frame(C); + ED_image_update_frame(bmain, scene->r.cfra); /* go to next frame */ while(CFRA<oglrender->nfra) { |