diff options
author | Aras Pranckevicius <aras@nesnausk.org> | 2022-10-10 10:10:33 +0300 |
---|---|---|
committer | Aras Pranckevicius <aras@nesnausk.org> | 2022-10-10 10:10:46 +0300 |
commit | 42b1a7d4c660a4304ae8e6e45abc60824211917a (patch) | |
tree | 0d7225468748d47f9f98849b337fd717b7ec658a /source/blender/io/wavefront_obj/tests/obj_importer_tests.cc | |
parent | a24f11e0ec96ef9f4298f5ffe754146aa8319b72 (diff) |
OBJ: add global scale factor import setting
Requested in D16095 proposal - also USD & Alembic have import scale
option; OBJ has an export scale object but the import scale
was not there for some reason.
Diffstat (limited to 'source/blender/io/wavefront_obj/tests/obj_importer_tests.cc')
-rw-r--r-- | source/blender/io/wavefront_obj/tests/obj_importer_tests.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/io/wavefront_obj/tests/obj_importer_tests.cc b/source/blender/io/wavefront_obj/tests/obj_importer_tests.cc index 1657bf81dc7..f459e1ab1bd 100644 --- a/source/blender/io/wavefront_obj/tests/obj_importer_tests.cc +++ b/source/blender/io/wavefront_obj/tests/obj_importer_tests.cc @@ -60,6 +60,7 @@ class obj_importer_test : public BlendfileLoadingBaseTest { } OBJImportParams params; + params.global_scale = 1.0f; params.clamp_size = 0; params.forward_axis = IO_AXIS_NEGATIVE_Z; params.up_axis = IO_AXIS_Y; |