diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-27 20:25:35 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-27 20:25:35 +0400 |
commit | 2d960cea743ae30d5dc7018ad3a21c52d23231fe (patch) | |
tree | e1d951631728f317f2c04912d67f097f8ef83a1e /source/blender/src/editipo.c | |
parent | 8fc795045555a84deca179d6e1f16382624ccc73 (diff) |
NLA & Action goodies;
-> Locked Strip length
When changing time of the animation curves in an Action, the strips in NLA
just remained the same length, causing very confusing situations.
By setting the strips to Locked (Nkey NLA window), it always updates the
strip length to make sure all keys are included, and not more. From now on
(not on old files) this is the default strip method.
-> ALT+C clear size
This menu has 2 options, the first clears the size, the 2nd remaps the
action (only when you didnt use the new Lock feature).
Both options are in the Pulldown menu too
-> Key drawing
The weird beveled button in Action/NLA didn't accurately show what time it
was actually on. I've replaced it with an Icon now, diamond shaped, in a
design derived from the TimeLine markers.
Diffstat (limited to 'source/blender/src/editipo.c')
-rw-r--r-- | source/blender/src/editipo.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index 2f1bd7c4c83..853b069f484 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -86,6 +86,7 @@ #include "BIF_editaction.h" #include "BIF_editconstraint.h" #include "BIF_editkey.h" +#include "BIF_editnla.h" #include "BIF_editseq.h" #include "BIF_editview.h" #include "BIF_interface.h" @@ -224,7 +225,6 @@ void editipo_changed(SpaceIpo *si, int doredraw) if(ei==0) return; - for(a=0; a<si->totipo; a++, ei++) { if(ei->icu) { @@ -333,6 +333,9 @@ void editipo_changed(SpaceIpo *si, int doredraw) } if(si->showkey) make_ipokey(); + + if(si->actname[0]) + synchronize_action_strips(); } void scale_editipo(void) |