Fix pchan head/tail original values not being set

This commit is contained in:
Campbell Barton 2018-06-11 11:36:28 +02:00
parent df72101631
commit f2e60b53a7
1 changed files with 2 additions and 0 deletions

View File

@ -692,6 +692,8 @@ void BKE_pose_bone_done(struct Depsgraph *depsgraph,
bPoseChannel *pchan_orig = pchan->orig_pchan;
copy_m4_m4(pchan_orig->pose_mat, pchan->pose_mat);
copy_m4_m4(pchan_orig->chan_mat, pchan->chan_mat);
copy_v3_v3(pchan_orig->pose_head, pchan->pose_mat[3]);
BKE_pose_where_is_bone_tail(pchan_orig);
}
}