Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-06-19 03:42:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-19 03:44:43 +0300
commit2299e6d9bad4f707110cdf8e1b5affd6f1088826 (patch)
treeebc7d7d8c69e05a719bb2462acb96f072fb0ca9f /source
parente73647bf5b440d1d2dd63c460724a33472dbe325 (diff)
Fix active face-dot color
Unlike edge/vert this was blending with the regular selection color.
Diffstat (limited to 'source')
-rw-r--r--source/blender/draw/modes/shaders/edit_mesh_overlay_common_lib.glsl2
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;