Revert fix for T45849, alternate fix coming up

epsilon check here didn't account for scale, causing T45919
This commit is contained in:
Campbell Barton
2015-08-31 22:12:19 +10:00
parent 96fa58e22c
commit e503e37333

View File

@@ -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 */