Change camera default rotation
This commit is contained in:
parent
c356ec5e8b
commit
0ecf7f7ca0
2 changed files with 4 additions and 4 deletions
|
@ -2297,10 +2297,10 @@ void SpatialEditorViewport::reset() {
|
||||||
message_time=0;
|
message_time=0;
|
||||||
message="";
|
message="";
|
||||||
last_message="";
|
last_message="";
|
||||||
name=TTR("Top");
|
name="";
|
||||||
|
|
||||||
cursor.x_rot=0;
|
cursor.x_rot=0.5;
|
||||||
cursor.y_rot=0;
|
cursor.y_rot=0.5;
|
||||||
cursor.distance=4;
|
cursor.distance=4;
|
||||||
cursor.region_select=false;
|
cursor.region_select=false;
|
||||||
_update_name();
|
_update_name();
|
||||||
|
|
|
@ -208,7 +208,7 @@ private:
|
||||||
bool region_select;
|
bool region_select;
|
||||||
Point2 region_begin,region_end;
|
Point2 region_begin,region_end;
|
||||||
|
|
||||||
Cursor() { x_rot=y_rot=0; distance=4; region_select=false; }
|
Cursor() { x_rot=y_rot=0.5; distance=4; region_select=false; }
|
||||||
} cursor;
|
} cursor;
|
||||||
|
|
||||||
RID move_gizmo_instance[3], rotate_gizmo_instance[3];
|
RID move_gizmo_instance[3], rotate_gizmo_instance[3];
|
||||||
|
|
Loading…
Reference in a new issue