diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-18 14:03:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 14:03:02 +0100 |
commit | da26fcc91a5643d592067d44d6cace34295fadda (patch) | |
tree | 87abe6157f02d503ab696cc668df27de812e766d /editor | |
parent | 309cd91ea7aa1d66e1d409197bf2725427a78642 (diff) | |
parent | 5dec64fcadf790ccdc6a7d83535c9578cb33912a (diff) |
Merge pull request #59273 from V-Sekai/import-scene-no-roll
Diffstat (limited to 'editor')
-rw-r--r-- | editor/import/scene_import_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/scene_import_settings.cpp b/editor/import/scene_import_settings.cpp index f500268ad3..a4ae560d35 100644 --- a/editor/import/scene_import_settings.cpp +++ b/editor/import/scene_import_settings.cpp @@ -447,7 +447,7 @@ void SceneImportSettings::_update_camera() { camera->set_orthogonal(camera_size * zoom, 0.0001, camera_size * 2); Transform3D xf; - xf.basis = Basis(Vector3(0, 1, 0), rot_y) * Basis(Vector3(1, 0, 0), rot_x); + xf.basis = Basis(Vector3(1, 0, 0), rot_x) * Basis(Vector3(0, 1, 0), rot_y); xf.origin = center; xf.translate(0, 0, camera_size); |