diff options
author | Joshua Leung <aligorith@gmail.com> | 2014-05-04 18:57:36 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2014-05-05 06:16:38 +0400 |
commit | b2784d33ce6a6ae20344afa469b1425bdde9f90e (patch) | |
tree | 420d0d27fda2e64591fd9c1f7e7e4797efbf5787 /source/blender/editors/space_nla/nla_draw.c | |
parent | 362b25b38287cb75e4d22b30bdbc7f47e8eb3fdf (diff) |
NLA Editor Drawing: Set up AnimChannelType callbacks for drawing NLA Editor
This commit lays some of the groundwork needed to port the last of the NLA Editor
channel types that's still defined using custom code. By moving this code over
to the newer standardised framework, this will enable widgets to have tooltips
to make it easier for users to find out what various buttons do.
Currently this isn't hooked up to anything though.
Diffstat (limited to 'source/blender/editors/space_nla/nla_draw.c')
-rw-r--r-- | source/blender/editors/space_nla/nla_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_nla/nla_draw.c b/source/blender/editors/space_nla/nla_draw.c index 0d4e6a52a7e..6a943f45ac2 100644 --- a/source/blender/editors/space_nla/nla_draw.c +++ b/source/blender/editors/space_nla/nla_draw.c @@ -75,7 +75,7 @@ /* get colors for drawing Action-Line * NOTE: color returned includes fine-tuned alpha! */ -static void nla_action_get_color(AnimData *adt, bAction *act, float color[4]) +void nla_action_get_color(AnimData *adt, bAction *act, float color[4]) { if (adt && (adt->flag & ADT_NLA_EDIT_ON)) { /* greenish color (same as tweaking strip) */ |