Cleanup: Fix naming of a function
This commit is contained in:
Submodule release/scripts/addons updated: 7a6516c3e9...0ec4a4fd2a
@@ -212,8 +212,8 @@ void what_does_obaction(struct Object *ob,
|
||||
float cframe);
|
||||
|
||||
/* for proxy */
|
||||
void BKE_pose_copyesult_pchan_result(struct bPoseChannel *pchanto,
|
||||
const struct bPoseChannel *pchanfrom);
|
||||
void BKE_pose_copy_pchan_result(struct bPoseChannel *pchanto,
|
||||
const struct bPoseChannel *pchanfrom);
|
||||
bool BKE_pose_copy_result(struct bPose *to, struct bPose *from);
|
||||
/* clear all transforms */
|
||||
void BKE_pose_rest(struct bPose *pose);
|
||||
|
||||
@@ -1472,7 +1472,7 @@ void BKE_pose_rest(bPose *pose)
|
||||
}
|
||||
}
|
||||
|
||||
void BKE_pose_copyesult_pchan_result(bPoseChannel *pchanto, const bPoseChannel *pchanfrom)
|
||||
void BKE_pose_copy_pchan_result(bPoseChannel *pchanto, const bPoseChannel *pchanfrom)
|
||||
{
|
||||
copy_m4_m4(pchanto->pose_mat, pchanfrom->pose_mat);
|
||||
copy_m4_m4(pchanto->chan_mat, pchanfrom->chan_mat);
|
||||
@@ -1523,7 +1523,7 @@ bool BKE_pose_copy_result(bPose *to, bPose *from)
|
||||
for (pchanfrom = from->chanbase.first; pchanfrom; pchanfrom = pchanfrom->next) {
|
||||
pchanto = BKE_pose_channel_find_name(to, pchanfrom->name);
|
||||
if (pchanto != NULL) {
|
||||
BKE_pose_copyesult_pchan_result(pchanto, pchanfrom);
|
||||
BKE_pose_copy_pchan_result(pchanto, pchanfrom);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -909,7 +909,7 @@ void BKE_pose_eval_proxy_copy_bone(struct Depsgraph *depsgraph, Object *object,
|
||||
pchan->name);
|
||||
return;
|
||||
}
|
||||
BKE_pose_copyesult_pchan_result(pchan, pchan_from);
|
||||
BKE_pose_copy_pchan_result(pchan, pchan_from);
|
||||
copy_dq_dq(&pchan->runtime.deform_dual_quat, &pchan_from->runtime.deform_dual_quat);
|
||||
BKE_pchan_bbone_segments_cache_copy(pchan, pchan_from);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user