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

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to