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
Notes: blender-bot 2023-02-14 08:42:53 +01:00
Referenced by issue #45935, Bevel with small values produces strange results
1 changed files with 1 additions and 1 deletions

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