Bugfix #17495: IPO curve handles go haywire
When editing IPO curve handles on a curve that belongs to a NLA-strip with repeat != 1 and 'AutoMerge Keyframes' on, the scaling correction was causing more problems than it was worth.
This commit is contained in:
parent
fdb057ff53
commit
f5c19c2c35
@ -3942,12 +3942,9 @@ void special_aftertrans_update(TransInfo *t)
|
||||
if ( (G.sipo->flag & SIPO_NOTRANSKEYCULL)==0 &&
|
||||
(cancelled == 0) )
|
||||
{
|
||||
if (NLA_IPO_SCALED) {
|
||||
actstrip_map_ipo_keys(OBACT, G.sipo->ipo, 0, 1);
|
||||
posttrans_ipo_clean(G.sipo->ipo);
|
||||
actstrip_map_ipo_keys(OBACT, G.sipo->ipo, 1, 1);
|
||||
}
|
||||
else
|
||||
/* NOTE: no need to do NLA scaling stuff here, as when there is NLA scaling,
|
||||
* the transformed handles will get moved wrong (seem to match wrong repeat cycle)
|
||||
*/
|
||||
posttrans_ipo_clean(G.sipo->ipo);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user