Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2010-04-02 16:02:39 +0400
committerJoshua Leung <aligorith@gmail.com>2010-04-02 16:02:39 +0400
commit341843bc54119e5bc9563a02f332ce228da161bc (patch)
tree7fa13010f2abd0091b1551bb78ae9b72e54e9fa9 /source/blender/editors/armature
parentfb4b16b799ca514a9cc30d19f8e2274bf912246d (diff)
Batch renaming some keyframe editing internals in preparation for more generic keyframe editing API, allowing more niceties...
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/poselib.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/armature/poselib.c b/source/blender/editors/armature/poselib.c
index efc76105083..e2ceb534066 100644
--- a/source/blender/editors/armature/poselib.c
+++ b/source/blender/editors/armature/poselib.c
@@ -704,8 +704,8 @@ static void poselib_apply_pose (tPoseLib_PreviewData *pld)
bAction *act= pld->act;
bActionGroup *agrp;
- BeztEditData bed;
- BeztEditFunc group_ok_cb;
+ KeyframeEditData ked;
+ KeyframeEditFunc group_ok_cb;
int frame= 1;
/* get the frame */
@@ -717,15 +717,15 @@ static void poselib_apply_pose (tPoseLib_PreviewData *pld)
/* init settings for testing groups for keyframes */
group_ok_cb= ANIM_editkeyframes_ok(BEZT_OK_FRAMERANGE);
- memset(&bed, 0, sizeof(BeztEditData));
- bed.f1= ((float)frame) - 0.5f;
- bed.f2= ((float)frame) + 0.5f;
+ memset(&ked, 0, sizeof(KeyframeEditData));
+ ked.f1= ((float)frame) - 0.5f;
+ ked.f2= ((float)frame) + 0.5f;
/* start applying - only those channels which have a key at this point in time! */
for (agrp= act->groups.first; agrp; agrp= agrp->next) {
/* check if group has any keyframes */
- if (ANIM_animchanneldata_keys_bezier_loop(&bed, agrp, ALE_GROUP, NULL, group_ok_cb, NULL, 0)) {
+ if (ANIM_animchanneldata_keyframes_loop(&ked, agrp, ALE_GROUP, NULL, group_ok_cb, NULL, 0)) {
/* has keyframe on this frame, so try to get a PoseChannel with this name */
pchan= get_pose_channel(pose, agrp->name);