diff options
author | Germano <germano.costa@ig.com.br> | 2017-12-04 20:30:56 +0300 |
---|---|---|
committer | Germano <germano.costa@ig.com.br> | 2017-12-04 20:30:56 +0300 |
commit | 3d473d1632cfdf4efd205a8a93e6dbb137b57ec7 (patch) | |
tree | 34993fa3c0f012fc159542d6a231c29fd639757e /source/blender/editors | |
parent | f340f4a2f4e52cc75a43bf2ab8aa0c27708075fa (diff) |
Edit Mesh Selection: Make sure that the line width is 1 pixel
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 615fdd615d3..0a1f7046a5d 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -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); |