From 8546fe2b7936cbf6cf55f6bbe8bbd51d0ba2f709 Mon Sep 17 00:00:00 2001 From: Mikael Hermansson Date: Mon, 8 Jul 2024 00:20:38 +0200 Subject: [PATCH] Fix focus shortcut when in the bezier curve editor --- editor/animation_bezier_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/animation_bezier_editor.cpp b/editor/animation_bezier_editor.cpp index aa8962b580e..c5feb3b1d15 100644 --- a/editor/animation_bezier_editor.cpp +++ b/editor/animation_bezier_editor.cpp @@ -965,7 +965,7 @@ void AnimationBezierTrackEdit::gui_input(const Ref &p_event) { real_t minimum_value = INFINITY; real_t maximum_value = -INFINITY; - for (const IntPair &E : selection) { + for (const IntPair &E : focused_keys) { IntPair key_pair = E; real_t time = animation->track_get_key_time(key_pair.first, key_pair.second);