Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Tönne <lukas.toenne@gmail.com>2016-08-09 16:32:58 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2016-08-09 16:34:38 +0300
commit3bbf8fbaeb0dff1aaacdfe97154c3706424da9c6 (patch)
treebd324f1711ee687bbae78b57bf7f94acc6321083 /source/blender/render
parentd5a0ae00d08897f7066c6f69e130e717dd5654c1 (diff)
Fix for isfinite breaking builds when WITH_CXX11 is enabled.
This happens when cmath.h is included after math.h in cpp code. Kudos to Sergey for pointing this out.
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/raytrace/rayobject_rtbuild.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/render/intern/raytrace/rayobject_rtbuild.cpp b/source/blender/render/intern/raytrace/rayobject_rtbuild.cpp
index 02a49fc3c8f..6abe1061247 100644
--- a/source/blender/render/intern/raytrace/rayobject_rtbuild.cpp
+++ b/source/blender/render/intern/raytrace/rayobject_rtbuild.cpp
@@ -42,6 +42,8 @@
#include "BLI_math.h"
#include "BLI_utildefines.h"
+using std::isfinite;
+
static bool selected_node(RTBuilder::Object *node)
{
return node->selected;