From 15d7e3dadff62b20173fb2b5b354e72d3c916c9a Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 12 Aug 2013 12:31:17 +0100 Subject: fixed compile for libnoise --- rotord/src/nodes_maths.h | 4 ++-- rotord/src/rendercontext.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'rotord/src') diff --git a/rotord/src/nodes_maths.h b/rotord/src/nodes_maths.h index 16d37d3..d4b8eac 100644 --- a/rotord/src/nodes_maths.h +++ b/rotord/src/nodes_maths.h @@ -2,8 +2,8 @@ #define ROTOR_MATHS #include "rotor.h" -#include -#include +#include +#include namespace Rotor { #define COMPARISON_Equal 1 diff --git a/rotord/src/rendercontext.cpp b/rotord/src/rendercontext.cpp index 62343ac..6ef0420 100644 --- a/rotord/src/rendercontext.cpp +++ b/rotord/src/rendercontext.cpp @@ -288,6 +288,7 @@ void Render_context::session_command(const std::vector& command,xml XML.addValue("progress",ofToString(progress)); } else { + status=HTTPResponse::HTTP_BAD_REQUEST; logger.error("ERROR: Render progress requested but not rendering"); XML.addValue("error","Not rendering"); } -- cgit v1.2.3