Fix T98699: Face dot colors in UV editor was using wrong color from theme

This commit is contained in:
Chris Blackbourn 2022-06-15 19:39:28 +12:00 committed by Philipp Oeser
parent 8f530d6a47
commit d57f57717a
Notes: blender-bot 2023-02-14 01:07:44 +01:00
Referenced by issue #88449: Blender LTS: Maintenance Task 2.93
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
Referenced by issue #98699, UV editor: Face dot color changes with the active vertex color
1 changed files with 1 additions and 1 deletions

View File

@ -13,6 +13,6 @@ void main()
vec3 world_pos = point_object_to_world(vec3(au, 0.0));
gl_Position = point_world_to_ndc(world_pos);
finalColor = ((flag & FACE_UV_SELECT) != 0) ? colorVertexSelect : vec4(colorWire.rgb, 1.0);
finalColor = ((flag & FACE_UV_SELECT) != 0) ? colorFaceDot : vec4(colorWire.rgb, 1.0);
gl_PointSize = pointSize;
}