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:
authorCampbell Barton <ideasman42@gmail.com>2013-10-26 07:56:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-26 07:56:32 +0400
commitb461cc9cd4f9e1827feec81b88ffc8c3b981755f (patch)
treed802b6958433f5845e8ed36a0bd38d4a0b913e88 /source/blender/blenkernel/BKE_action.h
parent7f9cdae28082fee4a05cc3dd4fddfbb40a411281 (diff)
code cleanup: merge doxygen comments into C source.
Diffstat (limited to 'source/blender/blenkernel/BKE_action.h')
-rw-r--r--source/blender/blenkernel/BKE_action.h55
1 files changed, 7 insertions, 48 deletions
diff --git a/source/blender/blenkernel/BKE_action.h b/source/blender/blenkernel/BKE_action.h
index 698098d28c3..5c155a46182 100644
--- a/source/blender/blenkernel/BKE_action.h
+++ b/source/blender/blenkernel/BKE_action.h
@@ -132,60 +132,19 @@ struct bActionGroup *BKE_action_group_find_name(struct bAction *act, const char
void action_groups_clear_tempflags(struct bAction *act);
/* Pose API ----------------- */
-
-/**
- * Deallocates a pose channel.
- * Does not free the pose channel itself.
- */
-void BKE_pose_channel_free(struct bPoseChannel *pchan);
-
-/**
- * Removes and deallocates all channels from a pose.
- * Does not free the pose itself.
- */
-void BKE_pose_channels_free(struct bPose *pose);
-/**
- * Removes the hash for quick lookup of channels, must
- * be done when adding/removing channels.
- */
-void BKE_pose_channels_hash_make(struct bPose *pose);
-void BKE_pose_channels_hash_free(struct bPose *pose);
-
-/**
- * Removes and deallocates all data from a pose, and also frees the pose.
- */
-void BKE_pose_free(struct bPose *pose);
+void BKE_pose_channel_free(struct bPoseChannel *pchan);
-/**
- * Allocate a new pose on the heap, and copy the src pose and it's channels
- * into the new pose. *dst is set to the newly allocated structure, and assumed to be NULL.
- */
-void BKE_pose_copy_data(struct bPose **dst, struct bPose *src, int copyconstraints);
+void BKE_pose_channels_free(struct bPose *pose);
-/**
- * Copy the internal members of each pose channel including constraints
- * and ID-Props, used when duplicating bones in editmode.
- */
-void BKE_pose_channel_copy_data(struct bPoseChannel *pchan, const struct bPoseChannel *pchan_from);
+void BKE_pose_channels_hash_make(struct bPose *pose);
+void BKE_pose_channels_hash_free(struct bPose *pose);
-/**
- * Return a pointer to the pose channel of the given name
- * from this pose.
- */
+void BKE_pose_free(struct bPose *pose);
+void BKE_pose_copy_data(struct bPose **dst, struct bPose *src, const bool copy_constraints);
+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);
-
-/**
- * Return a pointer to the active pose channel from this Object.
- * (Note: Object, not bPose is used here, as we need layer info from Armature)
- */
struct bPoseChannel *BKE_pose_channel_active(struct Object *ob);
-
-/**
- * Looks to see if the channel with the given name
- * already exists in this pose - if not a new one is
- * allocated and initialized.
- */
struct bPoseChannel *BKE_pose_channel_verify(struct bPose *pose, const char *name);
#ifndef NDEBUG