== Auto-Keyframing ==

I've moved the Auto-Keyframing functionality out of the special_aftertrans_update function into two separate functions, which can be called independent of the Transform system. One is for Bones, while the other is for Objects.

This now means that the Shift-S Snapping Tools will now work with auto-keyframing.
This commit is contained in:
2007-06-23 06:56:16 +00:00
parent ca26aeb7b2
commit 1c41d19964
3 changed files with 191 additions and 144 deletions

View File

@@ -44,6 +44,7 @@ struct NumInput;
struct Object;
struct View3D;
struct ScrArea;
struct bPose;
typedef struct NumInput {
@@ -344,6 +345,10 @@ void sort_trans_data_dist(TransInfo *t);
void add_tdi_poin(float *poin, float *old, float delta);
void special_aftertrans_update(TransInfo *t);
/* auto-keying stuff used by special_aftertrans_update */
void autokeyframe_ob_cb_func(struct Object *ob, int tmode);
void autokeyframe_pose_cb_func(struct Object *ob, int tmode, short targetless_ik);
/*********************** Constraints *****************************/
void getConstraintMatrix(TransInfo *t);