Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-02-17 21:46:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-02-17 21:46:14 +0300
commit66688078bddf211c25862630302adb473870e507 (patch)
treeadad6baa468e18a73738cce9ef81107dd80acc5b /source/blender/editors/space_view3d/drawarmature.c
parent578f98d7ad31d7f1630f674253aeb4872502b6da (diff)
Fix line width for armature w/ custom bones
Diffstat (limited to 'source/blender/editors/space_view3d/drawarmature.c')
-rw-r--r--source/blender/editors/space_view3d/drawarmature.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawarmature.c b/source/blender/editors/space_view3d/drawarmature.c
index ff587243d3c..e9be937fb4e 100644
--- a/source/blender/editors/space_view3d/drawarmature.c
+++ b/source/blender/editors/space_view3d/drawarmature.c
@@ -1766,7 +1766,10 @@ static void draw_pose_bones(Scene *scene, View3D *v3d, ARegion *ar, Base *base,
/* set color-set to use */
set_pchan_colorset(ob, pchan);
}
-
+
+ /* may be 2x width from custom bone's outline option */
+ glLineWidth(1.0f);
+
if (use_custom) {
/* if drawwire, don't try to draw in solid */
if (pchan->bone->flag & BONE_DRAWWIRE) {