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.
This commit is contained in:
Lukas Tönne
2016-08-09 15:32:58 +02:00
parent d5a0ae00d0
commit 3bbf8fbaeb

View File

@@ -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;