forked from bartvdbraak/blender
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:
parent
fa5b4954a2
commit
3237a56b5d
@ -4747,7 +4747,7 @@ void remake_ipo_transverts(TransVert *transmain, float *dvec, int tot)
|
|||||||
if (NLA_IPO_SCALED) {
|
if (NLA_IPO_SCALED) {
|
||||||
tv->oldloc[0] = get_action_frame_inv(OBACT, tv->loc[0]);
|
tv->oldloc[0] = get_action_frame_inv(OBACT, tv->loc[0]);
|
||||||
tv->oldloc[0]-= dvec[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 {
|
else {
|
||||||
tv->oldloc[0]= tv->loc[0]-dvec[0];
|
tv->oldloc[0]= tv->loc[0]-dvec[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user