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:
authorPablo Vazquez <pablo@blender.org>2021-08-19 21:24:38 +0300
committerPablo Vazquez <pablo@blender.org>2021-08-19 21:24:46 +0300
commit72f73c0b71c5378c0d33f0eb83222dc68d93a5ad (patch)
tree21bb9e4709ceda45205c000d4447cee9bc9468c0
parentdbc4f6fdc900493a9d03c88afe48beae6289fb30 (diff)
UI: Use theme's alpha for Summary instead of a hardcoded value
-rw-r--r--source/blender/editors/space_action/action_draw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c
index a15f3507d7e..a3bdcd2adf5 100644
--- a/source/blender/editors/space_action/action_draw.c
+++ b/source/blender/editors/space_action/action_draw.c
@@ -248,7 +248,6 @@ void draw_channel_strips(bAnimContext *ac, SpaceAction *saction, ARegion *region
uchar gpl_col[4];
if (ale->type == ANIMTYPE_SUMMARY) {
color = col_summary;
- color[3] = col1[3];
}
else if ((show_group_colors) && (ale->type == ANIMTYPE_GPLAYER)) {
bGPDlayer *gpl = (bGPDlayer *)ale->data;
@@ -274,7 +273,6 @@ void draw_channel_strips(bAnimContext *ac, SpaceAction *saction, ARegion *region
uchar *color;
if (ale->type == ANIMTYPE_SUMMARY) {
color = col_summary;
- color[3] = col1[3];
}
else {
color = sel ? col1 : col2;