From c04f8721f38b1c7116ce1d87d71ef6355eba9db0 Mon Sep 17 00:00:00 2001 From: Daniel J. Ramirez Date: Sat, 14 Oct 2017 19:05:09 -0500 Subject: 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(+) (limited to 'editor/plugins') diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 32973db6e..a65b8b20d 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(); } -- cgit v1.2.3-70-g09d2