diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-07 00:11:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-07 00:11:28 +0400 |
commit | af704c6d88f7db3e1e6f29f0b4ce297a176f4b30 (patch) | |
tree | 19d2fe651fe11e1611a8112ca6790e0584603854 /source/blender/editors/armature/armature_utils.c | |
parent | 182179a44b09564603f424b8be75043578fd0c61 (diff) |
Style cleanup
Diffstat (limited to 'source/blender/editors/armature/armature_utils.c')
-rw-r--r-- | source/blender/editors/armature/armature_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/armature_utils.c b/source/blender/editors/armature/armature_utils.c index f22e668bcb7..97f69d86aee 100644 --- a/source/blender/editors/armature/armature_utils.c +++ b/source/blender/editors/armature/armature_utils.c @@ -507,7 +507,7 @@ static void fix_bonelist_roll(ListBase *bonelist, ListBase *editbonelist) print_m4("difmat", difmat); printf("Roll = %f\n", RAD2DEGF(-atan2(difmat[2][0], difmat[2][2]))); #endif - curBone->roll = (float)-atan2(difmat[2][0], difmat[2][2]); + curBone->roll = -atan2f(difmat[2][0], difmat[2][2]); /* and set restposition again */ BKE_armature_where_is_bone(curBone, curBone->parent); |