diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-05-03 14:31:20 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-05-03 14:31:20 +0400 |
commit | 873cba20d659c434136c51d817bab90387ea6c86 (patch) | |
tree | 6fa55d475418e6d72b7ea557cc100e7261a57ad8 /source/blender/src | |
parent | 31f429a26f2fd120d34d398a78f9682e2eaafa44 (diff) |
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.
Diffstat (limited to 'source/blender/src')
-rw-r--r-- | source/blender/src/drawarmature.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |