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:
authorThomas Dinges <blender@dingto.org>2013-12-18 00:36:27 +0400
committerThomas Dinges <blender@dingto.org>2013-12-18 00:36:45 +0400
commit173f7a3d30db8cba95656bf03dc842b9300c2436 (patch)
treefa8a622a95bc8575ff5625e620d4b6db711a7ad1 /source/blender/freestyle
parentd41b2bb25f5caf88e8f41a1f37297cd555ae158c (diff)
Fix compile on MSVC, we don't use "isfinite" anywhere else inside source/blender ;)
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r--source/blender/freestyle/intern/system/PseudoNoise.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/system/PseudoNoise.cpp b/source/blender/freestyle/intern/system/PseudoNoise.cpp
index e4fe497e064..6083a46d609 100644
--- a/source/blender/freestyle/intern/system/PseudoNoise.cpp
+++ b/source/blender/freestyle/intern/system/PseudoNoise.cpp
@@ -25,14 +25,14 @@
* \date 16/06/2003
*/
-#include <math.h>
+#include "BLI_math.h"
#include "PseudoNoise.h"
#include "RandGen.h"
static int modf_to_index(Freestyle::real x, unsigned int range)
{
- if (isfinite(x)) {
+ if (finite(x)) {
Freestyle::real tmp;
int i = abs((int)(modf(x, &tmp) * range));
BLI_assert(i >= 0 && i < range);