diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-02-12 14:48:55 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-02-12 14:48:55 +0300 |
commit | bd88fb372f830b8250a35ecd6cb25fe194f7683b (patch) | |
tree | ee7b66a18e8c04e85d174269c44ac595b14aac3f /source/blender/editors/animation/anim_channels_defines.c | |
parent | 912fdcacab3bcfb927696f92b4b36bb53452c6f2 (diff) |
Bugfixes:
1) Summary channel in DopeSheet was using uninitialised color for backdrop, resulting in weird/wrong colours
2) Commented out the view2d hotkeys added earlier, since they currently cause some conflicts for animation editor hotkeys (namely NLA)
Diffstat (limited to 'source/blender/editors/animation/anim_channels_defines.c')
-rw-r--r-- | source/blender/editors/animation/anim_channels_defines.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c index 19d1dcac1da..6fb933214e5 100644 --- a/source/blender/editors/animation/anim_channels_defines.c +++ b/source/blender/editors/animation/anim_channels_defines.c @@ -386,7 +386,10 @@ static short acf_generic_dataexpand_setting_valid(bAnimContext *ac, bAnimListEle static void acf_summary_color(bAnimContext *ac, bAnimListElem *ale, float *color) { // FIXME: hardcoded color - same as the 'action' line in NLA - glColor3f(0.8f, 0.2f, 0.0f); // reddish color + // reddish color + color[0] = 0.8f; + color[1] = 0.2f; + color[2] = 0.0f; } /* backdrop for summary widget */ |