Revision: 15043
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15043
Author:   aligorith
Date:     2008-05-29 08:14:53 +0200 (Thu, 29 May 2008)

Log Message:
-----------
Another bugfix for Fill Bone Between Joints. Changed the order that bones are 
created between 'head'/'tail' points

Modified Paths:
--------------
    trunk/blender/source/blender/src/editarmature.c

Modified: trunk/blender/source/blender/src/editarmature.c
===================================================================
--- trunk/blender/source/blender/src/editarmature.c     2008-05-29 02:31:36 UTC 
(rev 15042)
+++ trunk/blender/source/blender/src/editarmature.c     2008-05-29 06:14:53 UTC 
(rev 15043)
@@ -2443,11 +2443,11 @@
                }
                
                /* assign head/tail combinations */
-               if (headtail == 1) {
+               if (headtail == 2) {
                        VECCOPY(head, ebp->vec);
                        VECCOPY(tail, ebp2->vec);
                }
-               else if (headtail == 2) {
+               else if (headtail == 1) {
                        VECCOPY(head, ebp2->vec);
                        VECCOPY(tail, ebp->vec);
                }
@@ -2457,7 +2457,7 @@
                        newbone= add_points_bone(head, tail);
                        
                        /* do parenting (will need to set connected flag too) */
-                       if (headtail == 1) {
+                       if (headtail == 2) {
                                /* ebp tail or head - tail gets priority */
                                if (ebp->tail_owner)
                                        newbone->parent= ebp->tail_owner;


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

Reply via email to