Bugfix #6983: Incorrect behavior of cancelling transform of IPO CVs

Woops! The code was using the wrong variable in one place.
This commit is contained in:
Joshua Leung 2007-08-03 12:04:25 +00:00
parent fa5b4954a2
commit 3237a56b5d

@ -4747,7 +4747,7 @@ void remake_ipo_transverts(TransVert *transmain, float *dvec, int tot)
if (NLA_IPO_SCALED) {
tv->oldloc[0] = get_action_frame_inv(OBACT, tv->loc[0]);
tv->oldloc[0]-= dvec[0];
tv->oldloc[0] = get_action_frame(OBACT, tv->loc[0]);
tv->oldloc[0] = get_action_frame(OBACT, tv->oldloc[0]);
}
else {
tv->oldloc[0]= tv->loc[0]-dvec[0];