diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-10-15 10:04:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-15 10:04:33 +0200 |
commit | eeb9257a95bf51139861617b076a5d5438cf2dca (patch) | |
tree | b9f9322a0861f36abf85a53fa1b936f915a981ac /editor | |
parent | b005c5fcec2a1bb6d0ed4ae9637012b3f15ac837 (diff) | |
parent | c04f8721f38b1c7116ce1d87d71ef6355eba9db0 (diff) |
Merge pull request #12110 from djrm/pr_spatial_editor_fixes
Return camera to origin when creating a new scene and going to 3d edi…
Diffstat (limited to 'editor')
-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(); } |