diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-04-15 05:10:36 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-04-15 05:10:36 +0400 |
commit | 2dbf73f6a032ab44539cfd8c05f5743fbaf33902 (patch) | |
tree | 2a3093dfa8b561213db1c58bf2583cb05f6b2ed5 /source/blender/editors/animation/anim_intern.h | |
parent | 5b3d7bfdf6305e880f89d58cbe852a8d2ba7b241 (diff) |
2.5 PoseLib - First steps to get PoseLib to work in 2.5
* Cleaned up Keyframing API to get eliminate some of the problems faced during the original implementation of PoseLib, thus reducing code redundancy.
* Added new Animato evaluation functions specifically for use by PoseLib.
* Replaced parts of PoseLib code which relied on old animation system to the equivalent code for Animato. Notice the much cleaner + saner + compact code!
Next step is to operatorfy the PoseLib tools (while maintaining possibility for an API to some things) :)
Diffstat (limited to 'source/blender/editors/animation/anim_intern.h')
-rw-r--r-- | source/blender/editors/animation/anim_intern.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/source/blender/editors/animation/anim_intern.h b/source/blender/editors/animation/anim_intern.h index 6cbecab7832..e903007fbc0 100644 --- a/source/blender/editors/animation/anim_intern.h +++ b/source/blender/editors/animation/anim_intern.h @@ -5,36 +5,14 @@ #ifndef ANIM_INTERN_H #define ANIM_INTERN_H -/* ----------- Common Keyframe Destination Sources ------------ */ -/* (used as part of KeyingSets/Keyframing interface as separation from context) */ - -/* temporary struct to gather data combos to keyframe */ -typedef struct bCommonKeySrc { - struct bCommonKeySrc *next, *prev; - - /* general data/destination-source settings */ - ID *id; /* id-block this comes from */ - - /* specific cases */ - bPoseChannel *pchan; - bConstraint *con; -} bCommonKeySrc; /* KeyingSets/Keyframing Interface ------------- */ /* list of builtin KeyingSets (defined in keyingsets.c) */ extern ListBase builtin_keyingsets; -/* mode for modify_keyframes */ -enum { - MODIFYKEY_MODE_INSERT = 0, - MODIFYKEY_MODE_DELETE, -} eModifyKey_Modes; - short keyingset_context_ok_poll(bContext *C, KeyingSet *ks); short modifykey_get_context_data (bContext *C, ListBase *dsources, KeyingSet *ks); -int modify_keyframes(bContext *C, ListBase *dsources, KeyingSet *ks, short mode, float cfra); - #endif // ANIM_INTERN_H |