diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-16 21:30:36 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-16 22:23:05 +0400 |
commit | 4fd66d7c0c569958e4db8486e63f5f2a5e64f2cc (patch) | |
tree | 1d186ee1046e9ef2ac27a7fe2f4d9811db719465 /source/blender/editors/armature/pose_transform.c | |
parent | e62cdbb474c4a09b55f046b199d3036534fd259c (diff) |
code cleanup: armature functions
- added BKE_pose_channel_get_mirrored (matching editmode function ED_armature_bone_get_mirrored)
- editbone_name_exists -> ED_armature_bone_find_name
Diffstat (limited to 'source/blender/editors/armature/pose_transform.c')
-rw-r--r-- | source/blender/editors/armature/pose_transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/pose_transform.c b/source/blender/editors/armature/pose_transform.c index 4e66c329088..578f048cb15 100644 --- a/source/blender/editors/armature/pose_transform.c +++ b/source/blender/editors/armature/pose_transform.c @@ -118,7 +118,7 @@ static int apply_armature_pose2bones_exec(bContext *C, wmOperator *op) pose = ob->pose; for (pchan = pose->chanbase.first; pchan; pchan = pchan->next) { - curbone = editbone_name_exists(arm->edbo, pchan->name); + curbone = ED_armature_bone_find_name(arm->edbo, pchan->name); /* simply copy the head/tail values from pchan over to curbone */ copy_v3_v3(curbone->head, pchan->pose_head); |