diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2020-06-26 13:42:20 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2020-06-26 13:43:01 +0300 |
commit | e3a420c4773a1d1a79c21f15137066d4411d3574 (patch) | |
tree | 05253ace680efd72f7328ffc171d735cd7fc07dd /release/scripts/startup/bl_ui/space_view3d.py | |
parent | c7694185c92aa44c90fa43e58e88742e085183d9 (diff) |
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
0 files changed, 0 insertions, 0 deletions