diff options
Diffstat (limited to 'source/blender/src/editarmature.c')
-rw-r--r-- | source/blender/src/editarmature.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/editarmature.c b/source/blender/src/editarmature.c index 31c9c94fa6f..ca76b6607cb 100644 --- a/source/blender/src/editarmature.c +++ b/source/blender/src/editarmature.c @@ -2542,7 +2542,7 @@ void auto_align_armature(void) /* Sets the roll value of selected bones so that their zaxes point upwards */ { EditBone *ebone; - float xaxis[3]={1.0, 0.0, 0.0}, yaxis[3], zaxis[3]={0.0, 0.0, 1.0}, ytest[3]={0.0, -1.0, 0.0}; + float xaxis[3]={1.0, 0.0, 0.0}, yaxis[3], zaxis[3]={0.0, 0.0, 1.0}; float targetmat[4][4], imat[4][4]; float curmat[4][4], diffmat[4][4]; float delta[3]; @@ -2571,4 +2571,5 @@ void auto_align_armature(void) } } -}
\ No newline at end of file +} + |