diff options
author | Chris Want <cwant@ualberta.ca> | 2004-01-03 05:13:04 +0300 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2004-01-03 05:13:04 +0300 |
commit | c8a5bfc826b497e238df2161effad9ab34325cbe (patch) | |
tree | e5316e2ea584a81f15a3d5e763160f52a8666454 /source/blender/blenkernel/BKE_action.h | |
parent | 33916a24025b52590032e010ac2dd810f4dc9298 (diff) |
made verify_pose_channel() return the pose channel that is either
found or created (just removed some silly duplicated work).
Diffstat (limited to 'source/blender/blenkernel/BKE_action.h')
-rw-r--r-- | source/blender/blenkernel/BKE_action.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_action.h b/source/blender/blenkernel/BKE_action.h index 6942a426d8f..7407da43543 100644 --- a/source/blender/blenkernel/BKE_action.h +++ b/source/blender/blenkernel/BKE_action.h @@ -100,8 +100,9 @@ struct bPoseChannel *get_pose_channel(const struct bPose *pose, * already exists in this pose - if not a new one is * allocated and initialized. */ -void verify_pose_channel(struct bPose* pose, const char* name); - +struct bPoseChannel *verify_pose_channel(struct bPose* pose, + const char* name); + /** * Allocate a new bAction on the heap and copy * the contents of src into it. If src is NULL NULL is returned. |