Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-11 12:36:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-11 12:37:22 +0300
commitf2e60b53a7c47e3b8efc0478a1d6629143d80358 (patch)
tree438a3a847d8b05dd6e015fe2664231f482d10acd /source
parentdf72101631097cd57a093645378e1de338f875e8 (diff)
Fix pchan head/tail original values not being set
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/armature_update.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/armature_update.c b/source/blender/blenkernel/intern/armature_update.c
index 9613ec4116a..ce99da87c74 100644
--- a/source/blender/blenkernel/intern/armature_update.c
+++ b/source/blender/blenkernel/intern/armature_update.c
@@ -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);
}
}