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>2015-08-31 15:12:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-08-31 15:12:19 +0300
commite503e37333bd5d9d409530448d767bcd709f4a5a (patch)
treef98dabe3dcdcafca38fa8b226a9c5bb4b10b7849 /source/blender/blenlib
parent96fa58e22cde8329bfc5639f9a68c85be9473b1d (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.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 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 */