diff options
| author | Tim Redfern <tim@herge.(none)> | 2013-08-12 12:31:17 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@herge.(none)> | 2013-08-12 12:31:17 +0100 |
| commit | 15d7e3dadff62b20173fb2b5b354e72d3c916c9a (patch) | |
| tree | d706b6d64272a73286f97e06cc086c38832692a9 /rotord | |
| parent | 668077a990bb8f09d3e34b37b63cfd58e82a50f9 (diff) | |
fixed compile for libnoise
Diffstat (limited to 'rotord')
| -rw-r--r-- | rotord/src/nodes_maths.h | 4 | ||||
| -rw-r--r-- | rotord/src/rendercontext.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
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 <noise/noise.h> -#include <noise/mathconsts.h> +#include <libnoise/noise.h> +#include <libnoise/mathconsts.h> 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<std::string>& 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"); } |
