diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-28 15:58:24 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-28 15:58:24 +0100 |
| commit | e5752fdfd33a35be5a96fe754c5553fee88cbe76 (patch) | |
| tree | 51b3a07b7a44e1ff21e3b7e50c6fc1e450783cf8 /editor/animation_track_editor.h | |
| parent | 6a252c19cc7ddb6600415ff9f332fe8c97e3f0ef (diff) | |
| parent | 75330887d72ea94562226442f854092327f68fa0 (diff) | |
Merge pull request #72233 from TokageItLab/audio-blending
Implement blending audio feature to AnimationTree
Diffstat (limited to 'editor/animation_track_editor.h')
| -rw-r--r-- | editor/animation_track_editor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/editor/animation_track_editor.h b/editor/animation_track_editor.h index 8506d9b80d..2a59bda2a4 100644 --- a/editor/animation_track_editor.h +++ b/editor/animation_track_editor.h @@ -220,7 +220,9 @@ class AnimationTrackEdit : public Control { MENU_KEY_INSERT, MENU_KEY_DUPLICATE, MENU_KEY_ADD_RESET, - MENU_KEY_DELETE + MENU_KEY_DELETE, + MENU_USE_BLEND_ENABLED, + MENU_USE_BLEND_DISABLED, }; AnimationTimelineEdit *timeline = nullptr; @@ -566,6 +568,7 @@ class AnimationTrackEditor : public VBoxContainer { Animation::LoopMode loop_mode = Animation::LOOP_PINGPONG; bool loop_wrap = false; bool enabled = false; + bool use_blend = false; struct Key { float time = 0; |