diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-11-16 19:27:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-16 19:27:27 +0100 |
commit | bb1d1912ea73592670f75a6ec89845766dabb4b0 (patch) | |
tree | b7d3d422a31e0c6abceee3bb1cb5aeded49b32bf /editor/plugins | |
parent | 763ca3dae1aac597965a8dd230e91f888707664c (diff) | |
parent | 1b7f99d9e5bca9f524b4e902b3975397b8762557 (diff) |
Merge pull request #12488 from djrm/pr_gridmap_fixes
Several improvements to GridMap.
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index b87084e392..ca80908ab5 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -1808,6 +1808,11 @@ void SpatialEditorViewport::_sinput(const Ref<InputEvent> &p_event) { if (!k->is_pressed()) emit_signal("toggle_maximize_view", this); } } + + // freelook uses most of the useful shortcuts, like save, so its ok + // to consider freelook active as end of the line for future events. + if (freelook_active) + accept_event(); } void SpatialEditorViewport::set_freelook_active(bool active_now) { |