summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2023-06-06 12:37:35 +0200
committerGitHub <noreply@github.com>2023-06-06 12:37:35 +0200
commit2cec7e9ca635d70792ee5c8d9eb485e0ef47dd9c (patch)
treebe951c9f905cfc061333d0c5091732b00052ec49
parentb99a02387d8a03b8584d23648b3bfca0c3b5e0de (diff)
parent14205804a996092a4dd6df7da2553891e529908d (diff)
downloadredot-engine-2cec7e9ca635d70792ee5c8d9eb485e0ef47dd9c.tar.gz
Merge pull request #77849 from TokageItLab/add-spring-tween-to-track-editor
Add spring tween to `AnimationTrackEditor`
-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);