Fix #115907: Select similar edge direction skips opposite direction #115951

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:115907 into main 2023-12-13 10:30:59 +01:00

1 Commits

Author SHA1 Message Date
Philipp Oeser 139be8cfff Fix #115907: Select similar edge direction skips opposite direction
As I dont quite get the logic of "enforcing a positive quadrant" from
b38be90515 (which broke the previous behavior of 2.79 which was
capable of handling reversed edges as well -- there might be ways to
make that work though), now use the alternative approach of storing the
flipped direction in the kdtree as well.

This has a slight performance hit (only noticable at ~500k edges), but I
believe correctness beats performance here.
2023-12-08 18:01:27 +01:00