Fix for bug #1576.
authorChris Want <cwant@ualberta.ca>
Sat, 9 Apr 2005 23:38:35 +0000 (23:38 +0000)
committerChris Want <cwant@ualberta.ca>
Sat, 9 Apr 2005 23:38:35 +0000 (23:38 +0000)
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).

source/blender/src/transform.c

index e7d4b3bc22dcb44424b445cc6250da99f307d8bf..fb3efe60a5f24cf9b477140eedcc0d9a887a5b1a 100755 (executable)
@@ -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) {