diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-06-19 03:42:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-06-19 03:44:43 +0300 |
commit | 2299e6d9bad4f707110cdf8e1b5affd6f1088826 (patch) | |
tree | ebc7d7d8c69e05a719bb2462acb96f072fb0ca9f | |
parent | e73647bf5b440d1d2dd63c460724a33472dbe325 (diff) |
Fix active face-dot color
Unlike edge/vert this was blending with the regular selection color.
-rw-r--r-- | source/blender/draw/modes/shaders/edit_mesh_overlay_common_lib.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/shaders/edit_mesh_overlay_common_lib.glsl b/source/blender/draw/modes/shaders/edit_mesh_overlay_common_lib.glsl index 6aa20a9d21b..b79bae45f23 100644 --- a/source/blender/draw/modes/shaders/edit_mesh_overlay_common_lib.glsl +++ b/source/blender/draw/modes/shaders/edit_mesh_overlay_common_lib.glsl @@ -65,7 +65,7 @@ vec4 EDIT_MESH_face_color(int face_flag) vec4 EDIT_MESH_facedot_color(float facedot_flag) { if (facedot_flag < 0.0f) { - return colorEditMeshActive; + return vec4(colorEditMeshActive.xyz, 1.0); } else if (facedot_flag > 0.0f) { return colorFaceDot; |