Commit: f03079eff0d2c43552872f7ee1c51be4d86a0729
Author: Pablo Vazquez
Date:   Wed Jul 4 15:37:36 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBf03079eff0d2c43552872f7ee1c51be4d86a0729

UI: Fix channels using editor header color as background

Channels were using TH_HEADER which is usually gray and unrelated to channels 
list.
Use sub channel color instead (light blue in the default theme).

===================================================================

M       source/blender/editors/animation/anim_channels_defines.c

===================================================================

diff --git a/source/blender/editors/animation/anim_channels_defines.c 
b/source/blender/editors/animation/anim_channels_defines.c
index f0bde9dcdfb..6bd333294c5 100644
--- a/source/blender/editors/animation/anim_channels_defines.c
+++ b/source/blender/editors/animation/anim_channels_defines.c
@@ -223,7 +223,7 @@ static void acf_generic_channel_color(bAnimContext *ac, 
bAnimListElem *ale, floa
        else {
                // FIXME: what happens when the indention is 1 greater than 
what it should be (due to grouping)?
                int colOfs = 20 - 20 * indent;
-               UI_GetThemeColorShade3fv(TH_HEADER, colOfs, r_color);
+               UI_GetThemeColorShade3fv(TH_DOPESHEET_CHANNELSUBOB, colOfs, 
r_color);
        }
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to