Fixed the Advanced Import Settings window's camera rotation order in the 3D viewport when moving the mouse.

This commit is contained in:
Shnazzy 2023-09-29 23:02:22 -04:00
parent 44e399ed5f
commit 17364e20b5

View File

@ -550,7 +550,7 @@ void SceneImportSettings::_update_camera() {
camera->set_orthogonal(camera_size * zoom, 0.0001, camera_size * 2);
Transform3D xf;
xf.basis = Basis(Vector3(1, 0, 0), rot_x) * Basis(Vector3(0, 1, 0), rot_y);
xf.basis = Basis(Vector3(0, 1, 0), rot_y) * Basis(Vector3(1, 0, 0), rot_x);
xf.origin = center;
xf.translate_local(0, 0, camera_size);