diff options
author | Joshua Leung <aligorith@gmail.com> | 2006-12-15 08:51:53 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2006-12-15 08:51:53 +0300 |
commit | c43b064895b68d4f8c3a3e1c6e2948383dc69ddd (patch) | |
tree | c1e6571d3e7ea106e4b88857480a64e77e32e52a /source/blender/src/drawnla.c | |
parent | e4340d1b58f6f8e6ff7be959f22cb95862ca2aac (diff) |
== Action Editor - 'Long' Keyframes ==
When animating, it is often useful to be able to visually see where the
'pauses' are between keyframes. Long keyframes do this - linking two
keyframes in the same channel together.
Long keyframes are only drawn when the two keyframes have the exact
same values. This has to happen for every ipo-curve represented by the
keyframes shown for a long keyframe to be drawn.
I've added two new theme colours for the action editor. They are for
the selected and deselected colours of the long keyframes (currently
defaulted to be the same as the NLA strip selection colours).
Diffstat (limited to 'source/blender/src/drawnla.c')
-rw-r--r-- | source/blender/src/drawnla.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawnla.c b/source/blender/src/drawnla.c index a86fedb396c..7a5e0c66fdd 100644 --- a/source/blender/src/drawnla.c +++ b/source/blender/src/drawnla.c @@ -280,7 +280,7 @@ static void draw_nla_strips_keys(SpaceNla *snla) glDisable (GL_BLEND); /* Draw the ipo keys */ - draw_object_channel(di, ob, 0, y); + draw_object_channel(di, ob, y); y-=NLACHANNELHEIGHT+NLACHANNELSKIP; @@ -312,7 +312,7 @@ static void draw_nla_strips_keys(SpaceNla *snla) /* Draw the action keys, optionally corrected for active strip */ map_active_strip(di, ob, 0); - draw_action_channel(di, ob->action, 0, y); + draw_action_channel(di, ob->action, y); map_active_strip(di, ob, 1); y-=NLACHANNELHEIGHT+NLACHANNELSKIP; |