Grumph, stupid previous commit :/

This commit is contained in:
Bastien Montagne 2014-09-08 17:53:31 +02:00
parent f42569036c
commit 655cd369b4
1 changed files with 1 additions and 1 deletions

View File

@ -2533,7 +2533,7 @@ def fbx_header_elements(root, scene_data, time=None):
up_axis, front_axis, coord_axis = RIGHT_HAND_AXES[scene_data.settings.to_axes]
# Currently not sure about that, but looks like default unit of FBX is cm...
scale_factor = (1.0 if scene.unit_settings.system == 'NONE' else scene.unit_settings.scale_length) * 100
scale_factor *= settings.global_scale
scale_factor /= scene_data.settings.global_scale
elem_props_set(props, "p_integer", b"UpAxis", up_axis[0])
elem_props_set(props, "p_integer", b"UpAxisSign", up_axis[1])
elem_props_set(props, "p_integer", b"FrontAxis", front_axis[0])