code cleanup: naming - pose/armature/image

also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
This commit is contained in:
2012-05-05 16:03:57 +00:00
parent ff4ff9c8a4
commit 1dccd4c98a
121 changed files with 566 additions and 566 deletions

View File

@@ -648,7 +648,7 @@ static int object_hook_reset_exec(bContext *C, wmOperator *op)
/* reset functionality */
if (hmd->object) {
bPoseChannel *pchan = get_pose_channel(hmd->object->pose, hmd->subtarget);
bPoseChannel *pchan = BKE_pose_channel_find_name(hmd->object->pose, hmd->subtarget);
if (hmd->subtarget[0] && pchan) {
float imat[4][4], mat[4][4];