diff options
author | Ton Roosendaal <ton@blender.org> | 2007-04-12 12:19:28 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-04-12 12:19:28 +0400 |
commit | ac8116c4b2a127b3ee40f8a003d74ba846fdedbe (patch) | |
tree | b982dbefcd65e2164f3f0d5880250a87f2be6992 /source | |
parent | a5990bca11f3ec6947631c681e2d0d727409c6a5 (diff) |
Bugfix #6549
Proxy for Armature: the proxy synchronize was missing local loc/rot/size
vectors, so local constraints did not work.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/action.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c index 4161179a0a1..3427d794870 100644 --- a/source/blender/blenkernel/intern/action.c +++ b/source/blender/blenkernel/intern/action.c @@ -735,6 +735,11 @@ void copy_pose_result(bPose *to, bPose *from) if(pchanto) { Mat4CpyMat4(pchanto->pose_mat, pchanfrom->pose_mat); Mat4CpyMat4(pchanto->chan_mat, pchanfrom->chan_mat); + /* used for local constraints */ + VECCOPY(pchanto->loc, pchanfrom->loc); + QUATCOPY(pchanto->quat, pchanfrom->quat); + VECCOPY(pchanto->size, pchanfrom->size); + VECCOPY(pchanto->pose_head, pchanfrom->pose_head); VECCOPY(pchanto->pose_tail, pchanfrom->pose_tail); pchanto->flag= pchanfrom->flag; |