1
0
Fork 0

Prevent held escape key from unselecting nodes after canceling a transform

This commit is contained in:
robert yevdokimov 2025-08-18 16:47:09 +04:00
parent 0c51ede243
commit d99d2cb884
1 changed files with 1 additions and 1 deletions

View File

@ -2432,7 +2432,7 @@ void Node3DEditorViewport::_sinput(const Ref<InputEvent> &p_event) {
_edit.gizmo->commit_handle(_edit.gizmo_handle, _edit.gizmo_handle_secondary, _edit.gizmo_initial_value, true);
_edit.gizmo = Ref<EditorNode3DGizmo>();
}
if (k->get_keycode() == Key::ESCAPE && !cursor.region_select) {
if (k->get_keycode() == Key::ESCAPE && !cursor.region_select && !k->is_echo()) {
_clear_selected();
return;
}