diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-02-27 21:03:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-02-27 21:03:49 +0300 |
commit | 82d6162990019e63becb1d867088a9e13ef5d259 (patch) | |
tree | 857203850189acdf104d549cb12732bd9edd6fd0 /source/blender/editors | |
parent | 3091935fec9cb89fa8ffbd48ff8ea2f5ff8687f1 (diff) |
Fix T47592: Wrong line width w/ custom-bones
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/drawarmature.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/drawarmature.c b/source/blender/editors/space_view3d/drawarmature.c index da065dba370..c6b2ccee85b 100644 --- a/source/blender/editors/space_view3d/drawarmature.c +++ b/source/blender/editors/space_view3d/drawarmature.c @@ -1891,6 +1891,9 @@ static void draw_pose_bones(Scene *scene, View3D *v3d, ARegion *ar, Base *base, } } + /* custom bone may draw outline double-width */ + glLineWidth(1.0f); + /* wire draw over solid only in posemode */ if ((dt <= OB_WIRE) || (arm->flag & ARM_POSEMODE) || ELEM(arm->drawtype, ARM_LINE, ARM_WIRE)) { /* draw line check first. we do selection indices */ |