diff options
Diffstat (limited to 'rotord/src/rendercontext.cpp')
| -rw-r--r-- | rotord/src/rendercontext.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rotord/src/rendercontext.cpp b/rotord/src/rendercontext.cpp index b93f39d..7d85cce 100644 --- a/rotord/src/rendercontext.cpp +++ b/rotord/src/rendercontext.cpp @@ -312,7 +312,8 @@ void Render_context::session_command(const Session_command& command,xmlIO& XML,H int frame=root["frame"].asInt(); int width=root["width"].asInt(); int height=root["height"].asInt(); - if (graph.preview(XML,preview_node,frame,width,height)) { + string format=root["format"].asString(); + if (graph.preview(XML,preview_node,format,frame,width,height)) { status=HTTPResponse::HTTP_OK; } else { |
