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:
authorJoshua Leung <aligorith@gmail.com>2014-05-04 18:57:36 +0400
committerJoshua Leung <aligorith@gmail.com>2014-05-05 06:16:38 +0400
commitb2784d33ce6a6ae20344afa469b1425bdde9f90e (patch)
tree420d0d27fda2e64591fd9c1f7e7e4797efbf5787 /source/blender/editors/space_nla
parent362b25b38287cb75e4d22b30bdbc7f47e8eb3fdf (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')
-rw-r--r--source/blender/editors/space_nla/nla_draw.c2
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) */