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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-08-19 05:18:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-08-19 05:20:39 +0300
commitcd8581af8ebe236fe59d659ef27c31f139f038f7 (patch)
treee9e09b93225f38c01ec753c2b2d89b5589d00c1e /source
parent7c352ed43af176948f59ebbdd75c35f641d31ba1 (diff)
Fix T45706: Axis aligned tri-tri intersection
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/math_geom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c
index e05cd7c300b..197a50d3ab7 100644
--- a/source/blender/blenlib/intern/math_geom.c
+++ b/source/blender/blenlib/intern/math_geom.c
@@ -1522,7 +1522,7 @@ bool isect_tri_tri_epsilon_v3(
isect_co, isect_co_other,
tri_pair[t][j], tri_pair[t][j_prev],
ix_span, ix_tri,
- epsilon) == 2)
+ epsilon) != 0)
{
const float edge_fac = line_point_factor_v3(ix_tri, tri_pair[t][j], tri_pair[t][j_prev]);
if (edge_fac >= -epsilon && edge_fac <= 1.0f + epsilon) {