== 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).
This commit is contained in:
2006-12-15 05:51:53 +00:00
parent e4340d1b58
commit c43b064895
5 changed files with 202 additions and 165 deletions

View File

@@ -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;