summaryrefslogtreecommitdiff
path: root/tools/editor/plugins
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-02-26 14:26:19 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-02-26 14:26:19 -0300
commita65edb4caabec21654c56552e11aacf0fd9291de (patch)
tree3a66ab4cac17c52f243355cb799be831e6b3a263 /tools/editor/plugins
parent768fc7ec8190d34c187ee2fb642bbe0c80fe8f6c (diff)
parenta9aae3000f2529dc773a876f3a3908eb9dcb824c (diff)
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'tools/editor/plugins')
-rw-r--r--tools/editor/plugins/spatial_editor_plugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp
index be7214aaa7..0014c5a68a 100644
--- a/tools/editor/plugins/spatial_editor_plugin.cpp
+++ b/tools/editor/plugins/spatial_editor_plugin.cpp
@@ -1407,6 +1407,9 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) {
} break;
+ case KEY_F: {
+ _menu_option(VIEW_CENTER_TO_SELECTION);
+ } break;
}