Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_action.h
| Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /* Action Lib Stuff ----------------- */ | /* Action Lib Stuff ----------------- */ | ||||
| /* Allocate a new bAction with the given name */ | /* Allocate a new bAction with the given name */ | ||||
| struct bAction *add_empty_action(struct Main *bmain, const char name[]); | struct bAction *add_empty_action(struct Main *bmain, const char name[]); | ||||
| void BKE_action_copy_data(struct Main *bmain, struct bAction *act_dst, const struct bAction *act_src, const int flag); | |||||
| /* Allocate a copy of the given Action and all its data */ | /* Allocate a copy of the given Action and all its data */ | ||||
| struct bAction *BKE_action_copy(struct Main *bmain, const struct bAction *src); | struct bAction *BKE_action_copy(struct Main *bmain, const struct bAction *act_src); | ||||
| /* Deallocate all of the Action's data, but not the Action itself */ | /* Deallocate all of the Action's data, but not the Action itself */ | ||||
| void BKE_action_free(struct bAction *act); | void BKE_action_free(struct bAction *act); | ||||
| void BKE_action_make_local(struct Main *bmain, struct bAction *act, const bool lib_local); | void BKE_action_make_local(struct Main *bmain, struct bAction *act, const bool lib_local); | ||||
| /* Action API ----------------- */ | /* Action API ----------------- */ | ||||
| ▲ Show 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | |||||
| void BKE_pose_channels_remove( | void BKE_pose_channels_remove( | ||||
| struct Object *ob, | struct Object *ob, | ||||
| bool (*filter_fn)(const char *bone_name, void *user_data), void *user_data); | bool (*filter_fn)(const char *bone_name, void *user_data), void *user_data); | ||||
| void BKE_pose_free_data_ex(struct bPose *pose, bool do_id_user); | void BKE_pose_free_data_ex(struct bPose *pose, bool do_id_user); | ||||
| void BKE_pose_free_data(struct bPose *pose); | void BKE_pose_free_data(struct bPose *pose); | ||||
| void BKE_pose_free(struct bPose *pose); | void BKE_pose_free(struct bPose *pose); | ||||
| void BKE_pose_free_ex(struct bPose *pose, bool do_id_user); | void BKE_pose_free_ex(struct bPose *pose, bool do_id_user); | ||||
| void BKE_pose_copy_data_ex(struct bPose **dst, const struct bPose *src, const int flag, const bool copy_constraints); | |||||
| void BKE_pose_copy_data(struct bPose **dst, const struct bPose *src, const bool copy_constraints); | void BKE_pose_copy_data(struct bPose **dst, const struct bPose *src, const bool copy_constraints); | ||||
| void BKE_pose_channel_copy_data(struct bPoseChannel *pchan, const struct bPoseChannel *pchan_from); | void BKE_pose_channel_copy_data(struct bPoseChannel *pchan, const struct bPoseChannel *pchan_from); | ||||
| struct bPoseChannel *BKE_pose_channel_find_name(const struct bPose *pose, const char *name); | struct bPoseChannel *BKE_pose_channel_find_name(const struct bPose *pose, const char *name); | ||||
| struct bPoseChannel *BKE_pose_channel_active(struct Object *ob); | struct bPoseChannel *BKE_pose_channel_active(struct Object *ob); | ||||
| struct bPoseChannel *BKE_pose_channel_verify(struct bPose *pose, const char *name); | struct bPoseChannel *BKE_pose_channel_verify(struct bPose *pose, const char *name); | ||||
| struct bPoseChannel *BKE_pose_channel_get_mirrored(const struct bPose *pose, const char *name); | struct bPoseChannel *BKE_pose_channel_get_mirrored(const struct bPose *pose, const char *name); | ||||
| #ifndef NDEBUG | #ifndef NDEBUG | ||||
| ▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines | |||||