diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-16 11:43:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-16 11:46:32 +0300 |
commit | 3468434b6bafd47abfbf80159c51d1fce453b95b (patch) | |
tree | db6903816575da9daaea797818078390a613a22e /source/blender/editors/uvedit | |
parent | 90d3fe1e4dd5a4be86ef738dfaca08ae8c9ca3f7 (diff) |
Theme: adjust active UV face color in the theme
This color had it's alpha reduced in the drawing code,
as the active face is no longer stippled.
Now the color is used from the theme without adjusting the alpha.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_draw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c index 0fd3005ac41..959ca1eeef1 100644 --- a/source/blender/editors/uvedit/uvedit_draw.c +++ b/source/blender/editors/uvedit/uvedit_draw.c @@ -347,7 +347,6 @@ static void draw_uvs(SpaceImage *sima, UI_GetThemeColor4fv(TH_FACE, col1); UI_GetThemeColor4fv(TH_FACE_SELECT, col2); UI_GetThemeColor4fv(TH_EDITMESH_ACTIVE, col3); - col3[3] *= 0.2; /* Simulate dithering */ col1[3] *= overlay_alpha; col2[3] *= overlay_alpha; |