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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user