diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-21 14:26:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-21 14:26:09 +0300 |
commit | 684405e0fb80216dbafbe4dcea3cd21cc18c17c9 (patch) | |
tree | 0c5e5f92db6d123d38dcd3827fc37d3050807edf /source/blender/blenkernel/BKE_action.h | |
parent | 6073bc9bc3f935e4018fd0cc1fc3d2b1db6fc0b6 (diff) |
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
Diffstat (limited to 'source/blender/blenkernel/BKE_action.h')
-rw-r--r-- | source/blender/blenkernel/BKE_action.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -118,6 +118,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. */ |