diff options
Diffstat (limited to 'source/blender/io/wavefront_obj/importer/importer_mesh_utils.cc')
-rw-r--r-- | source/blender/io/wavefront_obj/importer/importer_mesh_utils.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/io/wavefront_obj/importer/importer_mesh_utils.cc b/source/blender/io/wavefront_obj/importer/importer_mesh_utils.cc index 3c0ef646e13..f33753d720d 100644 --- a/source/blender/io/wavefront_obj/importer/importer_mesh_utils.cc +++ b/source/blender/io/wavefront_obj/importer/importer_mesh_utils.cc @@ -100,9 +100,7 @@ void transform_object(Object *object, const OBJImportParams &import_params) unit_m4(obmat); /* +Y-forward and +Z-up are the default Blender axis settings. */ mat3_from_axis_conversion( - import_params.forward_axis, import_params.up_axis, IO_AXIS_Y, IO_AXIS_Z, axes_transform); - /* mat3_from_axis_conversion returns a transposed matrix! */ - transpose_m3(axes_transform); + IO_AXIS_Y, IO_AXIS_Z, import_params.forward_axis, import_params.up_axis, axes_transform); copy_m4_m3(obmat, axes_transform); BKE_object_apply_mat4(object, obmat, true, false); |