[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32083] trunk/blender/source/blender/ editors/armature/editarmature.c: Fix other part of #22853: mirrored transform on armature tail/head only did not

Brecht Van Lommel brechtvanlommel at pandora.be
Thu Sep 23 21:31:01 CEST 2010


Revision: 32083
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32083
Author:   blendix
Date:     2010-09-23 21:31:01 +0200 (Thu, 23 Sep 2010)

Log Message:
-----------
Fix other part of #22853: mirrored transform on armature tail/head only did not
mirror roll.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/armature/editarmature.c

Modified: trunk/blender/source/blender/editors/armature/editarmature.c
===================================================================
--- trunk/blender/source/blender/editors/armature/editarmature.c	2010-09-23 18:58:26 UTC (rev 32082)
+++ trunk/blender/source/blender/editors/armature/editarmature.c	2010-09-23 19:31:01 UTC (rev 32083)
@@ -5772,6 +5772,7 @@
 					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 @@
 					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)





More information about the Bf-blender-cvs mailing list