diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-23 11:40:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-23 11:40:07 +0400 |
commit | 6f8913b49862ff11f63d0be6604227b66e302d56 (patch) | |
tree | 586df170686199b68717620eff873c4af410e32e | |
parent | 80697295529ace7fbd10347ed955486dae2dc9ee (diff) |
replave isfinite with finite for msvc
-rw-r--r-- | source/blender/modifiers/intern/MOD_ocean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_ocean.c b/source/blender/modifiers/intern/MOD_ocean.c index ecd116a9896..5fdd17b5167 100644 --- a/source/blender/modifiers/intern/MOD_ocean.c +++ b/source/blender/modifiers/intern/MOD_ocean.c @@ -427,7 +427,7 @@ static DerivedMesh *doOcean(ModifierData *md, Object *ob, const float size_co_inv = 1.0f / (omd->size * omd->spatial_size); /* can happen in when size is small, avoid bad array lookups later and quit now */ - if (!isfinite(size_co_inv)) { + if (!finite(size_co_inv)) { return derivedData; } |