mirror of
https://github.com/godotengine/godot.git
synced 2025-10-28 04:04:24 +00:00
Several improvements to GridMap.
Fixed crash when undoing. More ergonomic shortcuts. Fixed freelook navigation.
This commit is contained in:
parent
5cb1d064bc
commit
1b7f99d9e5
3 changed files with 119 additions and 84 deletions
|
|
@ -1803,6 +1803,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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue