Fix #90641: wireframe does not hide edges of coplanar faces #105352

Merged
Germano Cavalcante merged 1 commits from mano-wii/blender:drw_edges_factor_new into main 2023-04-03 16:22:51 +02:00

1 Commits

Author SHA1 Message Date
Germano Cavalcante f33c1a7a9b Overlay: use edge-connected polygons to calculate wireframe factor
Use the dot product of the normal of the two polygons connected to the
edge to calculate the edge factor.

This fixes #90641 and #102545 and ensures more predictable results for
boundary and non-manifold edges.
2023-04-03 11:21:35 -03:00