From 14205804a996092a4dd6df7da2553891e529908d Mon Sep 17 00:00:00 2001 From: "Silc Lizard (Tokage) Renew" <61938263+TokageItLab@users.noreply.github.com> Date: Mon, 5 Jun 2023 05:02:27 +0900 Subject: [PATCH] Add spring tween to AnimationTrackEditor --- editor/animation_track_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp index 4b3cf671d57..44e02c317cd 100644 --- a/editor/animation_track_editor.cpp +++ b/editor/animation_track_editor.cpp @@ -6720,6 +6720,7 @@ AnimationTrackEditor::AnimationTrackEditor() { transition_selection->add_item(TTR("Circ", "Transition Type"), Tween::TRANS_CIRC); transition_selection->add_item(TTR("Bounce", "Transition Type"), Tween::TRANS_BOUNCE); transition_selection->add_item(TTR("Back", "Transition Type"), Tween::TRANS_BACK); + transition_selection->add_item(TTR("Spring", "Transition Type"), Tween::TRANS_SPRING); transition_selection->select(Tween::TRANS_LINEAR); // Default transition_selection->set_auto_translate(false); // Translation context is needed. ease_selection = memnew(OptionButton);