From 1aacbf3bb5dee98bc5ab4994e1907a8416811941 Mon Sep 17 00:00:00 2001 From: Comment Date: Wed, 28 Aug 2013 21:51:56 +0100 Subject: preview in XML base64 --- rotord/src/rendercontext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rotord/src/rendercontext.cpp') 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 { -- cgit v1.2.3