diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-07-06 14:45:25 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-07-06 14:45:25 +0400 |
commit | eaa63eadf2be52551ea72538b5b9a76fdf42c6d7 (patch) | |
tree | ddd12ef5c8e7f842f7e392e36b03445fd94c01eb /source/blender/editors/space_view3d/drawarmature.c | |
parent | 82b17039edcd3563b80b5448baf16f97f9f2e9e5 (diff) |
Bugfix [#27825] Pose Mode Armatures different fill colors
Old light-blue colouring for "keyed" bones is no longer applied, even
if the flags were set in earlier versions of Blender.
This was a legacy feature used to get around some ancient issues,
which isn't needed anymore. Instead, it ends up causing confusion, so
removing.
Diffstat (limited to 'source/blender/editors/space_view3d/drawarmature.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawarmature.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/drawarmature.c b/source/blender/editors/space_view3d/drawarmature.c index 99017c10f3c..1087284e2e5 100644 --- a/source/blender/editors/space_view3d/drawarmature.c +++ b/source/blender/editors/space_view3d/drawarmature.c @@ -201,7 +201,6 @@ static short set_pchan_glColor (short colCode, int boneflag, int constflag) else if (constflag & PCHAN_HAS_IK) glColor4ub(255, 255, 0, 80); else if (constflag & PCHAN_HAS_SPLINEIK) glColor4ub(200, 255, 0, 80); else if (constflag & PCHAN_HAS_CONST) glColor4ub(0, 255, 120, 80); - else if (constflag) UI_ThemeColor4(TH_BONE_POSE); // PCHAN_HAS_ACTION return 1; } @@ -1944,8 +1943,6 @@ static void draw_pose_bones(Scene *scene, View3D *v3d, ARegion *ar, Base *base, /* extra draw service for pose mode */ constflag= pchan->constflag; - if (pchan->flag & (POSE_ROT|POSE_LOC|POSE_SIZE)) - constflag |= PCHAN_HAS_ACTION; /* set color-set to use */ set_pchan_colorset(ob, pchan); |