From ac8116c4b2a127b3ee40f8a003d74ba846fdedbe Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 12 Apr 2007 08:19:28 +0000 Subject: [PATCH] Bugfix #6549 Proxy for Armature: the proxy synchronize was missing local loc/rot/size vectors, so local constraints did not work. --- source/blender/blenkernel/intern/action.c | 5 +++++ 1 file changed, 5 insertions(+) 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;