Tiny fix in UI for editing actions/ipos:

Each Ipo block (actions, objects, etc) stores the last view
of the ipo window. Nice for selecting objects/bones and then getting
the previous view back.

When you use option "Lock time to other windows", this option is very
annoying; the action window then shifts all channels around, almost as
if this is a bug.
This commit is contained in:
Ton Roosendaal
2008-01-23 15:06:44 +00:00
parent 3e81d4723c
commit 14d79c5ce7

View File

@@ -1204,7 +1204,9 @@ void test_editipo(int doit)
if(G.sipo->ipo != ipo) {
G.sipo->ipo= ipo;
if(ipo) G.v2d->cur= ipo->cur;
/* if lock we don't copy from ipo, this makes the UI jump around confusingly */
if(G.v2d->flag & V2D_VIEWLOCK);
else if(ipo) G.v2d->cur= ipo->cur;
doit= 1;
}
if(G.sipo->from != from) {