diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-03 05:21:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-03 05:23:55 +0300 |
commit | fb8d268f6212dfc1a27f048eed25e0ae5622d34b (patch) | |
tree | b9471247b3efc5448842be6ead4bf6e74b43d74f /source/blender/blenkernel | |
parent | 65e577d222f102f8b89fa3f21a6a07e79e36b32b (diff) |
Fix T56975: Transform incorrect w/ constraint
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/armature_update.c | 1 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/object_update.c | 1 |
2 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 92777444cfe..c7c69a74202 100644 --- a/source/blender/blenkernel/intern/armature_update.c +++ b/source/blender/blenkernel/intern/armature_update.c @@ -705,6 +705,7 @@ void BKE_pose_bone_done(struct Depsgraph *depsgraph, 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]); + copy_m4_m4(pchan_orig->constinv, pchan->constinv); BKE_pose_where_is_bone_tail(pchan_orig); } } diff --git a/source/blender/blenkernel/intern/object_update.c b/source/blender/blenkernel/intern/object_update.c index 4ac8af54b16..b174b21c5ae 100644 --- a/source/blender/blenkernel/intern/object_update.c +++ b/source/blender/blenkernel/intern/object_update.c @@ -146,6 +146,7 @@ void BKE_object_eval_done(Depsgraph *depsgraph, Object *ob) if (DEG_is_active(depsgraph)) { Object *ob_orig = DEG_get_original_object(ob); copy_m4_m4(ob_orig->obmat, ob->obmat); + copy_m4_m4(ob_orig->constinv, ob->constinv); ob_orig->transflag = ob->transflag; ob_orig->flag = ob->flag; } |