From 3c61efcf206dcce904570baef1d5e209415d0ea9 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 19 Oct 2018 19:08:12 -0300 Subject: Multi-Objects: pose slide operators * POSE_OT_breakdown * POSE_OT_relax * POSE_OT_push * POSE_OT_propagate Note: I could not test relax because of T57313. Note 2: I believe those are the last armature related operators to be ported - \o/ --- source/blender/editors/armature/armature_intern.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/armature/armature_intern.h') diff --git a/source/blender/editors/armature/armature_intern.h b/source/blender/editors/armature/armature_intern.h index e5efb3315d0..da24787fc18 100644 --- a/source/blender/editors/armature/armature_intern.h +++ b/source/blender/editors/armature/armature_intern.h @@ -147,6 +147,8 @@ void POSE_OT_bone_layers(struct wmOperatorType *ot); typedef struct tPChanFCurveLink { struct tPChanFCurveLink *next, *prev; + struct Object *ob; /* Object this Pose Channel belongs to. */ + ListBase fcurves; /* F-Curves for this PoseChannel (wrapped with LinkData) */ struct bPoseChannel *pchan; /* Pose Channel which data is attached to */ @@ -170,12 +172,13 @@ typedef struct tPChanFCurveLink { /* ----------- */ -void poseAnim_mapping_get(struct bContext *C, ListBase *pfLinks, struct Object *ob, struct bAction *act); +struct Object *poseAnim_object_get(struct Object *ob_); +void poseAnim_mapping_get(struct bContext *C, ListBase *pfLinks); void poseAnim_mapping_free(ListBase *pfLinks); void poseAnim_mapping_refresh(struct bContext *C, struct Scene *scene, struct Object *ob); void poseAnim_mapping_reset(ListBase *pfLinks); -void poseAnim_mapping_autoKeyframe(struct bContext *C, struct Scene *scene, struct Object *ob, ListBase *pfLinks, float cframe); +void poseAnim_mapping_autoKeyframe(struct bContext *C, struct Scene *scene, ListBase *pfLinks, float cframe); LinkData *poseAnim_mapping_getNextFCurve(ListBase *fcuLinks, LinkData *prev, const char *path); -- cgit v1.2.3