From 3bbf8fbaeb0dff1aaacdfe97154c3706424da9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20T=C3=B6nne?= Date: Tue, 9 Aug 2016 15:32:58 +0200 Subject: 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. --- source/blender/render/intern/raytrace/rayobject_rtbuild.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3