summaryrefslogtreecommitdiffstats
path: root/editor/plugins/node_3d_editor_plugin.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2020-06-07 13:21:29 -0400
committerAaron Franke <arnfranke@yahoo.com>2020-06-07 13:36:04 -0400
commit6c2df6792b59fa6b84f99239797d1d54c8ded764 (patch)
treef938c8369eae282f50bbb5f98be87913c97b223f /editor/plugins/node_3d_editor_plugin.cpp
parentec1bf96e412b7a207ffb55d6acd56b25eb25845f (diff)
downloadredot-engine-6c2df6792b59fa6b84f99239797d1d54c8ded764.tar.gz
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.cpp6
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 f59b4171b4..741614cf7d 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();
}