diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-10-20 01:08:12 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-10-20 03:20:24 +0300 |
commit | 3c61efcf206dcce904570baef1d5e209415d0ea9 (patch) | |
tree | 7233052124a51ea6d3b2efb2808e83414101cae8 /source/blender/editors/armature/armature_intern.h | |
parent | 8e3a680ebe398cf24a2b06aa0e0a7f09492f87bf (diff) |
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/
Diffstat (limited to 'source/blender/editors/armature/armature_intern.h')
-rw-r--r-- | source/blender/editors/armature/armature_intern.h | 7 |
1 files changed, 5 insertions, 2 deletions
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); |