diff options
| author | Fabio Alessandrelli | 2016-10-04 20:39:38 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-10-09 17:39:00 +0200 |
| commit | d0ff75c91c5eab36ee67c12230b9cb8350b5ccc7 (patch) | |
| tree | 156c0d994c572c5746e75b59acbc89e44f26ac65 /tools/editor/plugins/spatial_editor_plugin.h | |
| parent | 82dfaf7af6666df50cbdd17b02458b124864b7b5 (diff) | |
| download | godot-d0ff75c91c5eab36ee67c12230b9cb8350b5ccc7.tar.gz godot-d0ff75c91c5eab36ee67c12230b9cb8350b5ccc7.tar.zst godot-d0ff75c91c5eab36ee67c12230b9cb8350b5ccc7.zip | |
Add shortcut to reset cursor position in 3D Editor ( #166 )
The shortcut will focus the origin after you moved around with shift + mouse3.
The default shortcut is the letter "O", like "F" for focus.
This can be customized in the editor shortcuts menu.
Closes #166
(cherry picked from commit 63abe3dcd0ba5323450b9b0603a34d61b2fe3033)
Diffstat (limited to 'tools/editor/plugins/spatial_editor_plugin.h')
| -rw-r--r-- | tools/editor/plugins/spatial_editor_plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.h b/tools/editor/plugins/spatial_editor_plugin.h index 54086b003..9a179b3c3 100644 --- a/tools/editor/plugins/spatial_editor_plugin.h +++ b/tools/editor/plugins/spatial_editor_plugin.h @@ -76,6 +76,7 @@ friend class SpatialEditor; VIEW_RIGHT, VIEW_FRONT, VIEW_REAR, + VIEW_CENTER_TO_ORIGIN, VIEW_CENTER_TO_SELECTION, VIEW_ALIGN_SELECTION_WITH_VIEW, VIEW_PERSPECTIVE, |
