Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2017-06-16 16:58:06 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-06-16 16:58:06 +0300
commit8b2a241baca09c9ae5dc1580614c047aabb55d31 (patch)
tree043ec1e7a13ea25865a76e2c5d34835e9721f287 /io_scene_fbx/fbx_utils.py
parent856c1b92841d552cd763b678d75f74c214bdb963 (diff)
Attempt to fix FBX scaling issues in a different way.
Now we offer choices to apply everything in transform, store everyting in FBX scale, or mix both solutions (taking custom export scale and unit scale into account here). This change a bit default behavior, and hopefully will allow to find at least one options working correctly with a given 'other tool' importer. This may address T51704 and T50159.
Diffstat (limited to 'io_scene_fbx/fbx_utils.py')
-rw-r--r--io_scene_fbx/fbx_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py
index d79023ee..16a8256f 100644
--- a/io_scene_fbx/fbx_utils.py
+++ b/io_scene_fbx/fbx_utils.py
@@ -1191,7 +1191,7 @@ FBXExportSettingsMedia = namedtuple("FBXExportSettingsMedia", (
# Helper container gathering all exporter settings.
FBXExportSettings = namedtuple("FBXExportSettings", (
- "report", "to_axes", "global_matrix", "global_scale", "apply_unit_scale",
+ "report", "to_axes", "global_matrix", "global_scale", "apply_unit_scale", "unit_scale",
"bake_space_transform", "global_matrix_inv", "global_matrix_inv_transposed",
"context_objects", "object_types", "use_mesh_modifiers", "use_mesh_modifiers_render",
"mesh_smooth_type", "use_mesh_edges", "use_tspace",