From 873cba20d659c434136c51d817bab90387ea6c86 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Thu, 3 May 2007 10:31:20 +0000 Subject: Armature Drawing Tweak: I've always found it hard to see the armature bones in 'Line' mode that don't have any constraints/ik/keyframes/etc. colour indications as they were set to the colour of the background. This tweak makes these particular bones draw slightly darker than the minor-gridlines in the 3d-view, but not as dark as the major gridlines. --- source/blender/src/drawarmature.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/blender/src/drawarmature.c b/source/blender/src/drawarmature.c index 9752561445a..dfcaefd03ff 100644 --- a/source/blender/src/drawarmature.c +++ b/source/blender/src/drawarmature.c @@ -840,7 +840,7 @@ static void draw_line_bone(int armflag, int boneflag, int constflag, unsigned in else if(constflag & PCHAN_HAS_CONST) glColor3ub(0, 255, 120); else BIF_ThemeColor(TH_BONE_POSE); // PCHAN_HAS_ACTION } - else BIF_ThemeColor(TH_BACK); + else BIF_ThemeColorShade(TH_BACK, -30); } } @@ -860,7 +860,7 @@ static void draw_line_bone(int armflag, int boneflag, int constflag, unsigned in if(armflag & ARM_EDITMODE) { if (boneflag & BONE_SELECTED) BIF_ThemeColor(TH_EDGE_SELECT); - else BIF_ThemeColor(TH_BACK); + else BIF_ThemeColorShade(TH_BACK, -30); } glBegin(GL_LINES); glVertex3f(0.0f, 0.0f, 0.0f); -- cgit v1.2.3