Fix #120313: Paint mode vertex selection overlay skips vertices
commit48f77b6c2402fc284f42cc470df9767daebc77b6
authorHans Goudey <hans@blender.org>
Wed, 10 Apr 2024 18:20:12 +0000 (10 14:20 -0400)
committerHans Goudey <hans@blender.org>
Wed, 10 Apr 2024 18:22:42 +0000 (10 14:22 -0400)
tree7e3ff6b576edd29c350087e016efec15d4f97cbd
parentce354c469347e1ebc153c4d3aeb52520f102afbe
Fix #120313: Paint mode vertex selection overlay skips vertices

Before bace4c9a293c0e658aee, the selection was uploaded twice: both face
and vertex selection. Afterwards only the face selection was uploaded,
but the vertex selection is necessary for the paint mode vertex overlay.
Now choose between uploading the vertex or face attribute based on the
paint overlay flags.
source/blender/draw/intern/mesh_extractors/extract_mesh_vbo_lnor.cc