Change the default editor camera rotation to position it in +X +Y +Z
(cherry picked from commit 6c2df6792b
)
This commit is contained in:
parent
eb6c7ec09c
commit
0b6a410890
|
@ -3407,11 +3407,7 @@ void SpatialEditorViewport::reset() {
|
||||||
last_message = "";
|
last_message = "";
|
||||||
name = "";
|
name = "";
|
||||||
|
|
||||||
cursor.x_rot = 0.5;
|
cursor = Cursor();
|
||||||
cursor.y_rot = 0.5;
|
|
||||||
cursor.distance = 4;
|
|
||||||
cursor.region_select = false;
|
|
||||||
cursor.pos = Vector3();
|
|
||||||
_update_name();
|
_update_name();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -375,7 +375,9 @@ private:
|
||||||
Point2 region_begin, region_end;
|
Point2 region_begin, region_end;
|
||||||
|
|
||||||
Cursor() {
|
Cursor() {
|
||||||
x_rot = y_rot = 0.5;
|
// These rotations place the camera in +X +Y +Z, aka south east, facing north west.
|
||||||
|
x_rot = 0.5;
|
||||||
|
y_rot = -0.5;
|
||||||
distance = 4;
|
distance = 4;
|
||||||
region_select = false;
|
region_select = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue