Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Trickey <howard.trickey@gmail.com>2020-06-26 13:42:20 +0300
committerHoward Trickey <howard.trickey@gmail.com>2020-06-26 13:43:01 +0300
commite3a420c4773a1d1a79c21f15137066d4411d3574 (patch)
tree05253ace680efd72f7328ffc171d735cd7fc07dd /source/blender/depsgraph
parentc7694185c92aa44c90fa43e58e88742e085183d9 (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 'source/blender/depsgraph')
0 files changed, 0 insertions, 0 deletions