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-06-23 19:00:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-06-23 19:00:12 +0400
commit3a1082b359aab867a3e2f38f7a357aefcdf424dd (patch)
tree7dc42211248d68734fd485e28446a8d716e87505 /source/blender/bmesh/operators/bmo_connect_pair.c
parentb9ffdb5cfd9a10ec66e4a5b6be01a606dc52281e (diff)
tweak comparisons for connect pair in rare case the value == CONNECT_EPS.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_connect_pair.c')
-rw-r--r--source/blender/bmesh/operators/bmo_connect_pair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_connect_pair.c b/source/blender/bmesh/operators/bmo_connect_pair.c
index 7db7af4e9e5..a56cdeec629 100644
--- a/source/blender/bmesh/operators/bmo_connect_pair.c
+++ b/source/blender/bmesh/operators/bmo_connect_pair.c
@@ -111,7 +111,7 @@ static int state_isect_co_exact(const PathContext *pc,
const float co[3])
{
const float diff = mul_v1_m3v3((float (*)[3])pc->matrix, co) - pc->axis_sep;
- return (fabsf(diff) < CONNECT_EPS);
+ return (fabsf(diff) <= CONNECT_EPS);
}
static float state_calc_co_pair_fac(const PathContext *pc,