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:
authorMitchell Stokes <mogurijin@gmail.com>2013-07-20 02:10:11 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-07-20 02:10:11 +0400
commit103ef7cacb5dd10aa2dfd5bb973c0dfd772885eb (patch)
tree8fd9a6b770998717f4555e7121fb16116b441865 /source/blender/editors/space_action/action_draw.c
parenteb21bdd249427465a093a078cda7864309a8f735 (diff)
parent869d654cccba8b9b0bc295e7ce89e8e322912023 (diff)
Merged changes from trunk r58324-58419.ge_dev
Diffstat (limited to 'source/blender/editors/space_action/action_draw.c')
-rw-r--r--source/blender/editors/space_action/action_draw.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c
index 4b1954c8889..b5f6fa9a23e 100644
--- a/source/blender/editors/space_action/action_draw.c
+++ b/source/blender/editors/space_action/action_draw.c
@@ -226,39 +226,35 @@ void draw_channel_strips(bAnimContext *ac, SpaceAction *saction, ARegion *ar)
{
/* reddish color from NLA */
UI_ThemeColor4(TH_ANIM_ACTIVE);
+ break;
}
- break;
-
case ANIMTYPE_SCENE:
case ANIMTYPE_OBJECT:
{
if (sel) glColor4ub(col1b[0], col1b[1], col1b[2], 0x45);
else glColor4ub(col1b[0], col1b[1], col1b[2], 0x22);
+ break;
}
- break;
-
case ANIMTYPE_FILLACTD:
case ANIMTYPE_DSSKEY:
case ANIMTYPE_DSWOR:
{
if (sel) glColor4ub(col2b[0], col2b[1], col2b[2], 0x45);
else glColor4ub(col2b[0], col2b[1], col2b[2], 0x22);
+ break;
}
- break;
-
case ANIMTYPE_GROUP:
{
if (sel) glColor4ub(col1a[0], col1a[1], col1a[2], 0x22);
else glColor4ub(col2a[0], col2a[1], col2a[2], 0x22);
+ break;
}
- break;
-
default:
{
if (sel) glColor4ub(col1[0], col1[1], col1[2], 0x22);
else glColor4ub(col2[0], col2[1], col2[2], 0x22);
+ break;
}
- break;
}
/* draw region twice: firstly backdrop, then the current range */