Ver Fonte

Merge pull request #94054 from mihe/fix-bezier-focus

Fix focus shortcut when in the bezier curve editor
Rémi Verschelde há 1 ano atrás
pai
commit
50db553ed5
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      editor/animation_bezier_editor.cpp

+ 1 - 1
editor/animation_bezier_editor.cpp

@@ -965,7 +965,7 @@ void AnimationBezierTrackEdit::gui_input(const Ref<InputEvent> &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);