diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-01-04 17:05:37 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-01-04 17:05:37 +0300 |
commit | c6e5b3f42dfc05e911ef30df12821138e1225e91 (patch) | |
tree | 383a0851bfe57d31e4ffba8e07791dd869e03a57 /source/blender/blenkernel/intern | |
parent | c716b9862aa21b920e395d5acd751dccb2472e89 (diff) |
Fix T84095: Eevee vextex color isn't working with hair
Regression introduced by {c766d9b9dc56}. When converting the vertex
buffer to a texture buffer the fetch mode wasn't checked and the short
was bitwise interpreted as a float. This change checks the fetch_mode
and select the correct texture buffer.
This could also be added to other places when needed. At this time it is
only added here to support vertex colors when used with hair particles.
Diffstat (limited to 'source/blender/blenkernel/intern')
0 files changed, 0 insertions, 0 deletions