From c04f8721f38b1c7116ce1d87d71ef6355eba9db0 Mon Sep 17 00:00:00 2001 From: "Daniel J. Ramirez" Date: Sat, 14 Oct 2017 19:05:09 -0500 Subject: [PATCH] Return camera to origin when creating a new scene and going to 3d editor. --- editor/plugins/spatial_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 32973db6ec9..a65b8b20da7 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -2576,6 +2576,7 @@ void SpatialEditorViewport::reset() { cursor.y_rot = 0.5; cursor.distance = 4; cursor.region_select = false; + cursor.pos = Vector3(); _update_name(); }