summaryrefslogtreecommitdiff
path: root/rotord/src/rendercontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/rendercontext.cpp')
-rw-r--r--rotord/src/rendercontext.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/rotord/src/rendercontext.cpp b/rotord/src/rendercontext.cpp
index e73f0d3..0015488 100644
--- a/rotord/src/rendercontext.cpp
+++ b/rotord/src/rendercontext.cpp
@@ -297,9 +297,9 @@ void Render_context::session_command(const Session_command& command,xmlIO& XML,H
if (command.method=="GET") { //generate xml from 1st signal output
if (state==IDLE) {
if (command.commands.size()>2) {
- float framerate;
+ double framerate;
framerate=toFloat(command.body);
- if (framerate==0.0f) framerate=graph.framerate;
+ if (framerate==0.0) framerate=graph.framerate;
if (graph.signal_render(XML,command.commands[2],framerate)){
status=HTTPResponse::HTTP_OK;
logger.information("rendering signal to xml");
@@ -471,8 +471,8 @@ void Render_context::session_command(const Session_command& command,xmlIO& XML,H
if (t1.count()>2){
stop=toInt(t1[2]);
if (t1.count()>3){
- float framerate=toFloat(t1[3]);
- if (framerate>0.0f) {
+ double framerate=toFloat(t1[3]);
+ if (framerate>0.0) {
output_framerate=framerate;
}
}