Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-06-30 01:10:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-06-30 01:10:49 +0300
commit72792406c9e545cc5818faafb777b7179aede499 (patch)
treebc77435e7bff1912d7a9c672b04088a78f93edbe /source/blender/editors/uvedit/uvedit_parametrizer.c
parent94a80a1fb117a93c0143f990332cec1233e14b94 (diff)
Correct fix for MSVC
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_parametrizer.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_parametrizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c
index 4713ea73b58..b3190ef784f 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;
}
}