Merge pull request #82591 from Shnazzy/fix-rotation-order-advanced-import

Fixed the Advanced Import Settings window's 3D camera
This commit is contained in:
Rémi Verschelde 2023-10-02 13:16:43 +02:00
commit b926d32ca7
No known key found for this signature in database
GPG key ID: C3336907360768E1

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);