From 684405e0fb80216dbafbe4dcea3cd21cc18c17c9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 21 Nov 2009 11:26:09 +0000 Subject: id properties for editbones and pose channels were not being freed in a number of cases, added free_pose_channel(pchan) and use this in all places that free pose bones --- source/blender/blenkernel/BKE_action.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/blender/blenkernel/BKE_action.h') diff --git a/source/blender/blenkernel/BKE_action.h b/source/blender/blenkernel/BKE_action.h index 17b56864d1e..e0b65c1996f 100644 --- a/source/blender/blenkernel/BKE_action.h +++ b/source/blender/blenkernel/BKE_action.h @@ -117,6 +117,12 @@ struct bActionGroup *action_groups_find_named(struct bAction *act, const char na /* Pose API ----------------- */ +/** + * Deallocates a pose channel. + * Does not free the pose channel itself. + */ +void free_pose_channel(struct bPoseChannel *pchan); + /** * Removes and deallocates all channels from a pose. * Does not free the pose itself. -- cgit v1.2.3