diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-02-27 21:03:49 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-03-04 19:11:55 +0300 |
commit | 9867042ab01cb2d40898bfb445eb785ef74ce950 (patch) | |
tree | c130c2e68c0a17e30076ebf643d47e426b7ff5f8 | |
parent | 2c3c8fbaed0fe4b603cd8bd911b80ac9afc42657 (diff) |
Fix T47592: Wrong line width w/ custom-bones
-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 */ |