diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-06-15 22:10:06 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-18 18:43:41 +0300 |
commit | 470e77c2e5437d82303d2699d634a6fec8bee7d1 (patch) | |
tree | 24349c9c8e52ee1c99082edde7521cf230d72344 /io_scene_fbx/fbx_utils.py | |
parent | 2fcc6e45cb885cb14e78f591169d2d639383c0f2 (diff) |
Final step (hopefully) in unit/scale Hell.v2.75-rc2
So, it appears some importers (at least UE4) do not use UnitScaleFactor defined by FBX,
which is assumed to be a way to say 'this FBX file uses units n times default FBX unit'
(default FBX unit being centimeter - afaik, at least I saw some FBX from Max with a
UnitScaleFactor of 2.54 - inches).
Hence, we have to add yet another stupid option to apply that 'unit scaling' to objects
instead (as part of global scaling)... Hurra.
Diffstat (limited to 'io_scene_fbx/fbx_utils.py')
-rw-r--r-- | io_scene_fbx/fbx_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py index 05420998..f5a8e1dd 100644 --- a/io_scene_fbx/fbx_utils.py +++ b/io_scene_fbx/fbx_utils.py @@ -1194,7 +1194,7 @@ FBXExportSettingsMedia = namedtuple("FBXExportSettingsMedia", ( # Helper container gathering all exporter settings. FBXExportSettings = namedtuple("FBXExportSettings", ( - "report", "to_axes", "global_matrix", "global_scale", + "report", "to_axes", "global_matrix", "global_scale", "apply_unit_scale", "bake_space_transform", "global_matrix_inv", "global_matrix_inv_transposed", "context_objects", "object_types", "use_mesh_modifiers", "mesh_smooth_type", "use_mesh_edges", "use_tspace", |