diff options
author | volzhs <volzhs@gmail.com> | 2017-01-15 23:28:34 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2017-01-17 02:23:23 +0900 |
commit | 0ecf7f7ca0eda52264850821a605d312e503b6f0 (patch) | |
tree | 90aa4c89527b19c1066a1fadc212d33a988751e5 | |
parent | c356ec5e8bf1ecaa5acedc204d613c4d1c2db3db (diff) |
Change camera default rotation
-rw-r--r-- | tools/editor/plugins/spatial_editor_plugin.cpp | 6 | ||||
-rw-r--r-- | tools/editor/plugins/spatial_editor_plugin.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp index f45194f53f..4b67df3a98 100644 --- a/tools/editor/plugins/spatial_editor_plugin.cpp +++ b/tools/editor/plugins/spatial_editor_plugin.cpp @@ -2297,10 +2297,10 @@ void SpatialEditorViewport::reset() { message_time=0; message=""; last_message=""; - name=TTR("Top"); + name=""; - cursor.x_rot=0; - cursor.y_rot=0; + cursor.x_rot=0.5; + cursor.y_rot=0.5; cursor.distance=4; cursor.region_select=false; _update_name(); diff --git a/tools/editor/plugins/spatial_editor_plugin.h b/tools/editor/plugins/spatial_editor_plugin.h index 6e5243e6ab..36f807c11f 100644 --- a/tools/editor/plugins/spatial_editor_plugin.h +++ b/tools/editor/plugins/spatial_editor_plugin.h @@ -208,7 +208,7 @@ private: bool region_select; 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; RID move_gizmo_instance[3], rotate_gizmo_instance[3]; |