diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-05-12 00:13:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-05-12 00:14:44 +0300 |
commit | c5ddbf181e7de0c8dbef756059367abcec061956 (patch) | |
tree | ab4c739004e60a3918277723ea52db05909e583c | |
parent | d3ed8233ffc9c654492fe3c077b5252f44aecbb7 (diff) |
Armature outline drawing used single width line
Only set line width in pose-mode
-rw-r--r-- | source/blender/editors/space_view3d/drawarmature.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawarmature.c b/source/blender/editors/space_view3d/drawarmature.c index c6b2ccee85b..5cda721be44 100644 --- a/source/blender/editors/space_view3d/drawarmature.c +++ b/source/blender/editors/space_view3d/drawarmature.c @@ -1892,7 +1892,9 @@ static void draw_pose_bones(Scene *scene, View3D *v3d, ARegion *ar, Base *base, } /* custom bone may draw outline double-width */ - glLineWidth(1.0f); + if (arm->flag & ARM_POSEMODE) { + 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)) { |