[Bf-blender-cvs] [7279240] master: Correct fix for MSVC

Campbell Barton noreply at git.blender.org
Thu Jun 30 00:10:53 CEST 2016


Commit: 72792406c9e545cc5818faafb777b7179aede499
Author: Campbell Barton
Date:   Thu Jun 30 08:10:49 2016 +1000
Branches: master
https://developer.blender.org/rB72792406c9e545cc5818faafb777b7179aede499

Correct fix for MSVC

===================================================================

M	source/blender/editors/uvedit/uvedit_parametrizer.c

===================================================================

diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c
index 4713ea7..b3190ef 100644
--- a/source/blender/editors/uvedit/uvedit_parametrizer.c
+++ b/source/blender/editors/uvedit/uvedit_parametrizer.c
@@ -745,7 +745,7 @@ static PVert *p_vert_add(PHandle *handle, PHashKey key, const float co[3], PEdge
 	 * Note that values within the calculation may _become_ non-finite,
 	 * so the rest of the code still needs to take this possability into account. */
 	for (int i = 0; i < 3; i++) {
-		if (UNLIKELY(!finite(v->co[i]))) {
+		if (UNLIKELY(!isfinite(v->co[i]))) {
 			v->co[i] = 0.0f;
 		}
 	}




More information about the Bf-blender-cvs mailing list