summaryrefslogtreecommitdiffstats
path: root/editor/plugins/node_3d_editor_plugin.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-06-09 14:11:30 +0200
committerGitHub <noreply@github.com>2020-06-09 14:11:30 +0200
commitae21b5ddad844b92d055dd77dca5ce84d56b9719 (patch)
tree4f60905f9d4bcf88a1f5879303b180a0f922b7d8 /editor/plugins/node_3d_editor_plugin.h
parent34942705941bbd43077526f3b2030a267f59868a (diff)
parent6c2df6792b59fa6b84f99239797d1d54c8ded764 (diff)
downloadredot-engine-ae21b5ddad844b92d055dd77dca5ce84d56b9719.tar.gz
Merge pull request #39372 from aaronfranke/editor-cam-rot
Change the default editor camera rotation to position it in +X +Y +Z
Diffstat (limited to 'editor/plugins/node_3d_editor_plugin.h')
-rw-r--r--editor/plugins/node_3d_editor_plugin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.h b/editor/plugins/node_3d_editor_plugin.h
index 32b087c372..83173b5ad2 100644
--- a/editor/plugins/node_3d_editor_plugin.h
+++ b/editor/plugins/node_3d_editor_plugin.h
@@ -391,7 +391,9 @@ private:
Point2 region_begin, region_end;
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;
region_select = false;
}