[Bf-blender-cvs] [f5dae5844c7] master: Fix T98699: Face dot colors in UV editor was using wrong color from theme

Chris Blackbourn noreply at git.blender.org
Wed Jun 15 09:42:14 CEST 2022


Commit: f5dae5844c7ead5788bd4f2a1d89d6a2a97c4169
Author: Chris Blackbourn
Date:   Wed Jun 15 19:39:28 2022 +1200
Branches: master
https://developer.blender.org/rBf5dae5844c7ead5788bd4f2a1d89d6a2a97c4169

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

===================================================================

M	source/blender/draw/engines/overlay/shaders/overlay_edit_uv_face_dots_vert.glsl

===================================================================

diff --git a/source/blender/draw/engines/overlay/shaders/overlay_edit_uv_face_dots_vert.glsl b/source/blender/draw/engines/overlay/shaders/overlay_edit_uv_face_dots_vert.glsl
index 280b31ea463..c0d4393f2da 100644
--- a/source/blender/draw/engines/overlay/shaders/overlay_edit_uv_face_dots_vert.glsl
+++ b/source/blender/draw/engines/overlay/shaders/overlay_edit_uv_face_dots_vert.glsl
@@ -5,6 +5,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;
 }



More information about the Bf-blender-cvs mailing list