Revert fix for T45849, alternate fix coming up
epsilon check here didn't account for scale, causing T45919
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user