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>2013-07-11 19:57:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-11 19:57:22 +0400
commita3a4386991818120db6fa38d5a728b424bd13353 (patch)
tree575a9fdd0ec8be3d5f7ef49181f131634825ac35 /source/blender/blenlib/intern/math_vector.c
parente6b22d287f4742e4ccd6dd6a171370252ed5b5aa (diff)
fix [#36105] Bevel UV Flicker
interp_weights_poly_v2/3 functions used much too small an epsilon value, caused flickering.
Diffstat (limited to 'source/blender/blenlib/intern/math_vector.c')
-rw-r--r--source/blender/blenlib/intern/math_vector.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/math_vector.c b/source/blender/blenlib/intern/math_vector.c
index 8c653b7057a..ba0394dbc66 100644
--- a/source/blender/blenlib/intern/math_vector.c
+++ b/source/blender/blenlib/intern/math_vector.c
@@ -546,8 +546,8 @@ void print_vn(const char *str, const float v[], const int n)
{
int i = 0;
printf("%s[%d]:", str, n);
- while (i++ < n) {
- printf(" %.3f", v[i]);
+ while (i < n) {
+ printf(" %.3f", v[i++]);
}
printf("\n");
}