diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-05-29 10:14:53 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-05-29 10:14:53 +0400 |
commit | fe7b591280ed1dec135d1cb95c5351dba4ec9d12 (patch) | |
tree | 0d6d19f85030bc398251072f42d3b508e4704b45 /source/blender/src/editarmature.c | |
parent | e015796b3667e40bba093d0d3b67cb8bcbcdd34a (diff) |
Another bugfix for Fill Bone Between Joints. Changed the order that bones are created between 'head'/'tail' points
Diffstat (limited to 'source/blender/src/editarmature.c')
-rw-r--r-- | source/blender/src/editarmature.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/editarmature.c b/source/blender/src/editarmature.c index a68503b0d06..39f93510358 100644 --- a/source/blender/src/editarmature.c +++ b/source/blender/src/editarmature.c @@ -2443,11 +2443,11 @@ void fill_bones_armature(void) } /* 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 @@ void fill_bones_armature(void) 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; |