diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-02-27 21:45:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-02-27 21:45:46 +0300 |
commit | ee2a33de502395b37e1aea1275709c4b21055db6 (patch) | |
tree | ab0eb3fa9c756d8e90334759e9992f7dba3dacba /source/blender/editors/space_view3d/drawobject.c | |
parent | 6e66ffb61abf0952f3ec8d820e58da9df7f6db6f (diff) |
Fix T47583: Mesh wire edge thickness regression
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index b9363cae1f4..0cba5a1712a 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -4065,6 +4065,7 @@ static void draw_mesh_fancy(Scene *scene, ARegion *ar, View3D *v3d, RegionView3D if ((dflag & DRAW_CONSTCOLOR) == 0) { glColor3ubv(ob_wire_col); } + glLineWidth(1.0f); dm->drawLooseEdges(dm); } } @@ -4141,6 +4142,7 @@ static void draw_mesh_fancy(Scene *scene, ARegion *ar, View3D *v3d, RegionView3D if ((dflag & DRAW_CONSTCOLOR) == 0) { glColor3ubv(ob_wire_col); } + glLineWidth(1.0f); dm->drawLooseEdges(dm); } } @@ -4183,6 +4185,7 @@ static void draw_mesh_fancy(Scene *scene, ARegion *ar, View3D *v3d, RegionView3D glDepthMask(0); /* disable write in zbuffer, selected edge wires show better */ } + glLineWidth(1.0f); dm->drawEdges(dm, ((dt == OB_WIRE) || no_faces), (ob->dtx & OB_DRAW_ALL_EDGES) != 0); if (dt != OB_WIRE && (draw_wire == OBDRAW_WIRE_ON_DEPTH)) { |