diff options
author | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-10-14 19:05:09 -0500 |
---|---|---|
committer | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-10-14 19:05:09 -0500 |
commit | c04f8721f38b1c7116ce1d87d71ef6355eba9db0 (patch) | |
tree | 0a7d325398695b09a597f1eaf3f5b1a9ad9044d8 /editor/plugins | |
parent | 4585239a4bcb5350fadc1fbe5a6db1c2e67ab06a (diff) |
Return camera to origin when creating a new scene and going to 3d editor.
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 32973db6ec..a65b8b20da 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(); } |