diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-16 01:48:02 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-17 22:39:16 +0300 |
commit | 21fddf7d1c0653881773e44cea6e9d0804a08b31 (patch) | |
tree | cf3179fce0393c9cc2577d546db790d5f7705694 /source/blender/modifiers | |
parent | 2b73402547a7c765f302a0d4218f96b5a710e96f (diff) |
C99/C++11: replace deprecated finite() by isfinite().
Diffstat (limited to 'source/blender/modifiers')
-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 a90a51e9ddc..e77cc655c16 100644 --- a/source/blender/modifiers/intern/MOD_ocean.c +++ b/source/blender/modifiers/intern/MOD_ocean.c @@ -435,7 +435,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 (!finite(size_co_inv)) { + if (!isfinite(size_co_inv)) { return derivedData; } |