summaryrefslogtreecommitdiffstats
path: root/tools/editor/plugins/spatial_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-01-16 20:08:37 +0100
committerGitHub <noreply@github.com>2017-01-16 20:08:37 +0100
commit3000c2d967dd4162aa4b60aa1182b41a4566c860 (patch)
tree84d4150aaad2f92ca48167f4db3bf0b8719959d0 /tools/editor/plugins/spatial_editor_plugin.cpp
parentaf871d22e2dc1c86c7e8166533452934f5f876b0 (diff)
parent0ecf7f7ca0eda52264850821a605d312e503b6f0 (diff)
downloadredot-engine-3000c2d967dd4162aa4b60aa1182b41a4566c860.tar.gz
Merge pull request #7540 from volzhs/default-rot
Change camera default rotation
Diffstat (limited to 'tools/editor/plugins/spatial_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/spatial_editor_plugin.cpp6
1 files changed, 3 insertions, 3 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();