replave isfinite with finite for msvc

This commit is contained in:
Campbell Barton
2013-07-23 07:40:07 +00:00
parent 8069729552
commit 6f8913b498

View File

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