diff options
author | Chris Want <cwant@ualberta.ca> | 2005-04-10 03:38:35 +0400 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2005-04-10 03:38:35 +0400 |
commit | ae91ba8ba6c08a734d588dc46a2ecded4459e3fd (patch) | |
tree | 21ae03fcbbfa72da73181911b733d60e57cc6fcb /source/blender/src/transform.c | |
parent | 6275dd5b14e94f06e73bc97ed5ee244f215fffeb (diff) |
Fix for bug #1576.
Constraints on bones that point to objects/bones outside of
an armature weren't working. The figure_pose_updating()
does a bunch of flagging based on the constraints on the
scene to figure out what armatures/bones need updating
(even when it is not the armature that is being manipulated).
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-x | source/blender/src/transform.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index e7d4b3bc22d..fb3efe60a5f 100755 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -1407,7 +1407,14 @@ static void createTransObject(TransInfo *t) reset_slowparents(); set_trans_object_base_flags(t); - + + /* this has to be done, or else constraints on armature + * bones that point to objects/bones that are outside + * of the armature don't work outside of posemode + * (and yes, I know it's confusing ...). + */ + figure_pose_updating(); + /* count */ for(base= FIRSTBASE; base; base= base->next) { if TESTBASELIB(base) { |