diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-09-23 23:31:01 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-09-23 23:31:01 +0400 |
commit | 960cdb8f5d6fa5617f5003190cc4926f7b031df6 (patch) | |
tree | 00f73775d9100cfdf3d00ab9cb623ac7a462f5a4 /source/blender/editors/armature | |
parent | cc4e2dfa5994e3e152159dcf4f94c1c5bcfd5a97 (diff) |
Fix other part of #22853: mirrored transform on armature tail/head only did not
mirror roll.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/editarmature.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c index 8cac3c42e4d..930f6e684fc 100644 --- a/source/blender/editors/armature/editarmature.c +++ b/source/blender/editors/armature/editarmature.c @@ -5772,6 +5772,7 @@ void transform_armature_mirror_update(Object *obedit) eboflip->tail[1]= ebo->tail[1]; eboflip->tail[2]= ebo->tail[2]; eboflip->rad_tail= ebo->rad_tail; + eboflip->roll= -ebo->roll; /* Also move connected children, in case children's name aren't mirrored properly */ for (children=arm->edbo->first; children; children=children->next) { @@ -5786,6 +5787,7 @@ void transform_armature_mirror_update(Object *obedit) eboflip->head[1]= ebo->head[1]; eboflip->head[2]= ebo->head[2]; eboflip->rad_head= ebo->rad_head; + eboflip->roll= -ebo->roll; /* Also move connected parent, in case parent's name isn't mirrored properly */ if (eboflip->parent && eboflip->flag & BONE_CONNECTED) |