Revision: 26576
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26576
Author:   aligorith
Date:     2010-02-03 12:09:47 +0100 (Wed, 03 Feb 2010)

Log Message:
-----------
Spline IK: Small tweak improving (but not completely solving) the situation for 
bug #20708

The best workaround for problems with SplineIK applied to a chain of BBones so 
far is to disable 'Chain Offset'. Hopefully this workaround will soon become 
irrelevant.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/armature.c

Modified: trunk/blender/source/blender/blenkernel/intern/armature.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/armature.c   2010-02-03 
10:27:31 UTC (rev 26575)
+++ trunk/blender/source/blender/blenkernel/intern/armature.c   2010-02-03 
11:09:47 UTC (rev 26576)
@@ -2028,11 +2028,9 @@
         *        the shape but be moved elsewhere
         */
        if (ikData->flag & CONSTRAINT_SPLINEIK_NO_ROOT) {
-               VECCOPY(poseMat[3], pchan->pose_head);
+               VECCOPY(poseHead, pchan->pose_head);
        }
-       else {
-               VECCOPY(poseMat[3], poseHead);
-       }
+       VECCOPY(poseMat[3], poseHead);
        
        /* finally, store the new transform */
        copy_m4_m4(pchan->pose_mat, poseMat);


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to