forked from bartvdbraak/blender
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.
This commit is contained in:
parent
90d3fe1e4d
commit
3468434b6b
@ -697,7 +697,7 @@ const bTheme U_theme_default = {
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 3,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.editmesh_active = RGBA(0xffffff40),
|
||||
.handle_vertex_select = RGBA(0xffff00ff),
|
||||
.handle_vertex_size = 5,
|
||||
.gp_vertex_size = 3,
|
||||
|
@ -724,7 +724,7 @@
|
||||
freestyle_face_mark="#7fff7f33"
|
||||
face_back="#00000000"
|
||||
face_front="#00000000"
|
||||
editmesh_active="#ffffff80"
|
||||
editmesh_active="#ffffff40"
|
||||
wire_edit="#c0c0c0"
|
||||
edge_select="#ff8500"
|
||||
scope_back="#727272ff"
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user