diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-06-09 14:11:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-09 14:11:30 +0200 |
| commit | ae21b5ddad844b92d055dd77dca5ce84d56b9719 (patch) | |
| tree | 4f60905f9d4bcf88a1f5879303b180a0f922b7d8 /editor/plugins/node_3d_editor_plugin.cpp | |
| parent | 34942705941bbd43077526f3b2030a267f59868a (diff) | |
| parent | 6c2df6792b59fa6b84f99239797d1d54c8ded764 (diff) | |
| download | redot-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.cpp')
| -rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index b8209fe50d..796dd3f8b2 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -3419,11 +3419,7 @@ void Node3DEditorViewport::reset() { last_message = ""; name = ""; - cursor.x_rot = 0.5; - cursor.y_rot = 0.5; - cursor.distance = 4; - cursor.region_select = false; - cursor.pos = Vector3(); + cursor = Cursor(); _update_name(); } |
