diff options
| author | marynate | 2014-04-01 16:23:05 +0800 |
|---|---|---|
| committer | marynate | 2014-04-01 16:49:10 +0800 |
| commit | a0fcab0a94559b0cdd38e1ee2e3d82e584420750 (patch) | |
| tree | 6ec2838358e64c9246567032901605db784cd50a /tools/editor/plugins/spatial_editor_plugin.cpp | |
| parent | e20e3c9525c2f0d5bb95e85138a8d88a0088d439 (diff) | |
| download | godot-a0fcab0a94559b0cdd38e1ee2e3d82e584420750.tar.gz godot-a0fcab0a94559b0cdd38e1ee2e3d82e584420750.tar.zst godot-a0fcab0a94559b0cdd38e1ee2e3d82e584420750.zip | |
Add hotkey for switching viewports
Hotkey added
Diffstat (limited to 'tools/editor/plugins/spatial_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/spatial_editor_plugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp index 0014c5a68..c8cbc3973 100644 --- a/tools/editor/plugins/spatial_editor_plugin.cpp +++ b/tools/editor/plugins/spatial_editor_plugin.cpp @@ -3029,10 +3029,10 @@ SpatialEditor::SpatialEditor(EditorNode *p_editor) { p->add_check_item("Use Default Light",MENU_VIEW_USE_DEFAULT_LIGHT); p->add_separator(); - p->add_check_item("1 Viewport",MENU_VIEW_USE_1_VIEWPORT); - p->add_check_item("2 Viewports",MENU_VIEW_USE_2_VIEWPORTS); - p->add_check_item("3 Viewports",MENU_VIEW_USE_3_VIEWPORTS); - p->add_check_item("4 Viewports",MENU_VIEW_USE_4_VIEWPORTS); + p->add_check_item("1 Viewport",MENU_VIEW_USE_1_VIEWPORT,KEY_MASK_ALT+KEY_1); + p->add_check_item("2 Viewports",MENU_VIEW_USE_2_VIEWPORTS,KEY_MASK_ALT+KEY_2); + p->add_check_item("3 Viewports",MENU_VIEW_USE_3_VIEWPORTS,KEY_MASK_ALT+KEY_3); + p->add_check_item("4 Viewports",MENU_VIEW_USE_4_VIEWPORTS,KEY_MASK_ALT+KEY_4); p->add_separator(); p->add_check_item("Display Normal",MENU_VIEW_DISPLAY_NORMAL); |
