Blender Git Loki
Git Commits -> Revision e3a420c
Revision e3a420c by Howard Trickey (master) June 26, 2020, 10:43 (GMT) |
Fix T76199 Bevel materials "bleed" over faces. When there is an odd number of segments, bevel has an ambiguous choice as to which side face to use to copy face attributes from and to use for UV (and other loops that have math function) interpolation. We used to make choice arbitrarily, which led to visually inconsistent results. Now there is tie-breaking code, face with lexicographic lowest value in vector with these elements: (1) connected component (in math-layer space) id (2) selected (0) vs unselected (1) (3) material index (4,5,6): z,x,y components of face center, in that order. |
Commit Details:
Full Hash: e3a420c4773a1d1a79c21f15137066d4411d3574
Parent Commit: c769418
Lines Changed: +341, -76
1 Modified Path:
/source/blender/bmesh/tools/bmesh_bevel.c (+341, -76) (Diff)