[Bf-blender-cvs] [28622ae81e] surface-deform-modifier: Fix VS 2015 issue (change isnanf to isnan)

Luca Rood noreply at git.blender.org
Wed Jan 11 16:06:38 CET 2017


Commit: 28622ae81e2ccc9ff26a8007dd8968baf3eccbbd
Author: Luca Rood
Date:   Wed Jan 11 12:57:45 2017 -0200
Branches: surface-deform-modifier
https://developer.blender.org/rB28622ae81e2ccc9ff26a8007dd8968baf3eccbbd

Fix VS 2015 issue (change isnanf to isnan)

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

M	source/blender/modifiers/intern/MOD_surfacedeform.c

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

diff --git a/source/blender/modifiers/intern/MOD_surfacedeform.c b/source/blender/modifiers/intern/MOD_surfacedeform.c
index c0c1fd4ba6..65f4e96b3c 100644
--- a/source/blender/modifiers/intern/MOD_surfacedeform.c
+++ b/source/blender/modifiers/intern/MOD_surfacedeform.c
@@ -658,7 +658,7 @@ BLI_INLINE SDefBindWeightData *computeBindWeights(SDefBindCalcData * const data,
 			float tmp2 = bpoly->point_edgemid_angles[1] / bpoly->corner_edgemid_angles[1];
 			float scale_weight, sqr, inv_sqr;
 
-			if (isnanf(tmp1) || isnanf(tmp2)) {
+			if (isnan(tmp1) || isnan(tmp2)) {
 				freeBindData(bwdata);
 				data->success = -1;
 				/* I know this message is vague, but I could not think of a way




More information about the Bf-blender-cvs mailing list