[Bf-blender-cvs] [72f73c0b71c] master: UI: Use theme's alpha for Summary instead of a hardcoded value
Pablo Vazquez
noreply at git.blender.org
Thu Aug 19 20:24:54 CEST 2021
Commit: 72f73c0b71c5378c0d33f0eb83222dc68d93a5ad
Author: Pablo Vazquez
Date: Thu Aug 19 20:24:38 2021 +0200
Branches: master
https://developer.blender.org/rB72f73c0b71c5378c0d33f0eb83222dc68d93a5ad
UI: Use theme's alpha for Summary instead of a hardcoded value
===================================================================
M source/blender/editors/space_action/action_draw.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list