Fix T72119: UV/Image Editor theme face colors with no effect

The `in int flag;` in `gpu_shader_2D_edituvs_faces_vert.glsl`
don't have the values `FACE_UV_ACTIVE` and `FACE_UV_SELECT`.

Add face flags then.

Original patch is from @EitanSomething

Differential revision: https://developer.blender.org/D6520
This commit is contained in:
Germano Cavalcante 2020-01-08 09:21:25 -03:00
parent 07a959067d
commit 15ef1d4c80
Notes: blender-bot 2023-02-14 07:31:34 +01:00
Referenced by issue #72119, UV/Image Editor alpha in theme
1 changed files with 1 additions and 0 deletions

View File

@ -2671,6 +2671,7 @@ static void extract_edituv_data_loop_bmesh(const MeshRenderData *mr,
EditLoopData *eldata = data->vbo_data + l;
memset(eldata, 0x0, sizeof(*eldata));
mesh_render_data_loop_flag(mr, loop, data->cd_ofs, eldata);
mesh_render_data_face_flag(mr, loop->f, data->cd_ofs, eldata);
mesh_render_data_loop_edge_flag(mr, loop, data->cd_ofs, eldata);
}