option to immediately write single render to a file added for OpenGL render.
[blender.git] / source / blender / editors / render / render_internal.c
index 1c8c111437d37b3d3c1641a26b25ee56871df89d..94057aa5087c01f4266cee6004881e03e39ad49a 100644 (file)
@@ -718,7 +718,7 @@ static int screen_render_invoke(bContext *C, wmOperator *op, wmEvent *event)
        rj->srl = srl;
        rj->lay = (v3d)? v3d->lay: scene->lay;
        rj->anim= is_animation;
-       rj->write_still= is_write_still;
+       rj->write_still= is_write_still && !is_animation;
        rj->iuser.scene= scene;
        rj->iuser.ok= 1;
        rj->reports= op->reports;