From 0136e9077946a4db81506d0b89f2681ba3b1073f Mon Sep 17 00:00:00 2001 From: Bastien Montagne <montagne29@wanadoo.fr> Date: Mon, 18 May 2015 20:20:26 +0200 Subject: [PATCH] FBX export: angles are in degrees in FBX (*sigh* again). --- io_scene_fbx/export_fbx_bin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index 126455942..8f9f53cb8 100644 --- a/io_scene_fbx/export_fbx_bin.py +++ b/io_scene_fbx/export_fbx_bin.py @@ -1860,8 +1860,9 @@ def fbx_animations_do(scene_data, ref_id, f_start, f_end, start_zero, objects=No for ob_obj in objects: ACNW = AnimationCurveNodeWrapper loc, rot, scale, _m, _mr = ob_obj.fbx_object_tx(scene_data) + rot_deg = tuple(convert_rad_to_deg_iter(rot)) animdata_ob[ob_obj] = (ACNW(ob_obj.key, 'LCL_TRANSLATION', ob_obj.is_bone and force_keying, loc), - ACNW(ob_obj.key, 'LCL_ROTATION', ob_obj.is_bone and force_keying, rot), + ACNW(ob_obj.key, 'LCL_ROTATION', ob_obj.is_bone and force_keying, rot_deg), ACNW(ob_obj.key, 'LCL_SCALING', ob_obj.is_bone and force_keying, scale)) p_rots[ob_obj] = rot -- GitLab