Avoid roll in scene importer camera.
This commit is contained in:
parent
756178d342
commit
5dec64fcad
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ void SceneImportSettings::_update_camera() {
|
||||||
camera->set_orthogonal(camera_size * zoom, 0.0001, camera_size * 2);
|
camera->set_orthogonal(camera_size * zoom, 0.0001, camera_size * 2);
|
||||||
|
|
||||||
Transform3D xf;
|
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.origin = center;
|
||||||
xf.translate(0, 0, camera_size);
|
xf.translate(0, 0, camera_size);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue