Files
test/source
Lukas Tönne a452e2d499 Fix #125559: Eraser does not find intersections at small scales
When points are close together in 2D view space the eraser intersection
function does not have a valid direction vector (zero). This cancels out
terms in the computation that would still contribute to the result and
the function always returns zero intersections.

This patch adds a special case when the direction vector is zero,
so the point distance to the circle is still calculated (just not in
any particular direction).

Pull Request: https://projects.blender.org/blender/blender/pulls/130341
2024-11-18 13:39:10 +01:00
..