diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-22 19:03:29 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-22 19:03:29 +0400 |
commit | fc169264cd9a6c6aa50e202b1bcb637bfccd65e0 (patch) | |
tree | de3be8da84f76e0b66dc3ead89294cea744e028b /source/blender/src/transform_conversions.c | |
parent | 5e8131309e43c5638548d622c1df806ca9e63c4d (diff) |
Autokey option crashed on Transform... was still using defines from before
the object-action-ipo-nla recode 2 weeks ago.
Diffstat (limited to 'source/blender/src/transform_conversions.c')
-rwxr-xr-x | source/blender/src/transform_conversions.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/src/transform_conversions.c b/source/blender/src/transform_conversions.c index bb6543267ab..f50addf9aae 100755 --- a/source/blender/src/transform_conversions.c +++ b/source/blender/src/transform_conversions.c @@ -1633,18 +1633,18 @@ void special_aftertrans_update(TransInfo *t) for (pchan=pose->chanbase.first; pchan; pchan=pchan->next){ if (pchan->flag & POSE_KEY){ - insertkey(&act->id, ID_AC, pchan->name, NULL, AC_SIZE_X); - insertkey(&act->id, ID_AC, pchan->name, NULL, AC_SIZE_Y); - insertkey(&act->id, ID_AC, pchan->name, NULL, AC_SIZE_Z); + insertkey(&ob->id, ID_PO, pchan->name, NULL, AC_SIZE_X); + insertkey(&ob->id, ID_PO, pchan->name, NULL, AC_SIZE_Y); + insertkey(&ob->id, ID_PO, pchan->name, NULL, AC_SIZE_Z); - insertkey(&act->id, ID_AC, pchan->name, NULL, AC_QUAT_W); - insertkey(&act->id, ID_AC, pchan->name, NULL, AC_QUAT_X); - insertkey(&act->id, ID_AC, pchan->name, NULL, AC_QUAT_Y); - insertkey(&act->id, ID_AC, pchan->name, NULL, AC_QUAT_Z); + insertkey(&ob->id, ID_PO, pchan->name, NULL, AC_QUAT_W); + insertkey(&ob->id, ID_PO, pchan->name, NULL, AC_QUAT_X); + insertkey(&ob->id, ID_PO, pchan->name, NULL, AC_QUAT_Y); + insertkey(&ob->id, ID_PO, pchan->name, NULL, AC_QUAT_Z); - insertkey(&act->id, ID_AC, pchan->name, NULL, AC_LOC_X); - insertkey(&act->id, ID_AC, pchan->name, NULL, AC_LOC_Y); - insertkey(&act->id, ID_AC, pchan->name, NULL, AC_LOC_Z); + insertkey(&ob->id, ID_PO, pchan->name, NULL, AC_LOC_X); + insertkey(&ob->id, ID_PO, pchan->name, NULL, AC_LOC_Y); + insertkey(&ob->id, ID_PO, pchan->name, NULL, AC_LOC_Z); } } |