diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-31 15:12:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-31 15:12:19 +0300 |
commit | e503e37333bd5d9d409530448d767bcd709f4a5a (patch) | |
tree | f98dabe3dcdcafca38fa8b226a9c5bb4b10b7849 /source/blender/blenlib | |
parent | 96fa58e22cde8329bfc5639f9a68c85be9473b1d (diff) |
Revert fix for T45849, alternate fix coming up
epsilon check here didn't account for scale, causing T45919
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/math_geom.c | 2 |
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 f7c2ad72d00..27b3f565812 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -1955,7 +1955,7 @@ int isect_line_line_epsilon_v3( div = dot_v3v3(ab, ab); /* test zero length line */ - if (UNLIKELY(div <= epsilon)) { + if (UNLIKELY(div == 0.0f)) { return 0; } /* test if the two lines are coplanar */ |