summaryrefslogtreecommitdiffstats
path: root/editor/animation_track_editor.cpp
diff options
context:
space:
mode:
authorSilc Lizard (Tokage) Renew <61938263+TokageItLab@users.noreply.github.com>2023-06-05 05:02:27 +0900
committerSilc Lizard (Tokage) Renew <61938263+TokageItLab@users.noreply.github.com>2023-06-05 05:02:27 +0900
commit14205804a996092a4dd6df7da2553891e529908d (patch)
tree1d1cb5efa6184780726c2df18b5c12915f3ecbc5 /editor/animation_track_editor.cpp
parent543750a1b3f5696f9ba8e91cb49dc7db05d2ae62 (diff)
downloadredot-engine-14205804a996092a4dd6df7da2553891e529908d.tar.gz
Add spring tween to AnimationTrackEditor
Diffstat (limited to 'editor/animation_track_editor.cpp')
-rw-r--r--editor/animation_track_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp
index 4b3cf671d5..44e02c317c 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);