Edit Mesh Selection: Make sure that the line width is 1 pixel

This commit is contained in:
Germano Cavalcante 2017-12-04 15:30:56 -02:00
parent f340f4a2f4
commit 3d473d1632
1 changed files with 2 additions and 0 deletions

View File

@ -9510,6 +9510,8 @@ static void bbs_mesh_wire(BMEditMesh *em, DerivedMesh *dm, int offset)
#else
static void bbs_mesh_wire(BMEditMesh *em, DerivedMesh *UNUSED(dm), int offset)
{
glLineWidth(1);
Mesh *me = em->ob->data;
Gwn_Batch *batch = DRW_mesh_batch_cache_get_edges_with_select_id(me, offset);
GWN_batch_program_set_builtin(batch, GPU_SHADER_3D_FLAT_COLOR_U32);