summaryrefslogtreecommitdiff
path: root/editor/animation_track_editor.h
diff options
context:
space:
mode:
authorSilc Renew <tokage.it.lab@gmail.com>2023-01-28 03:25:49 +0900
committerSilc Renew <tokage.it.lab@gmail.com>2023-01-28 20:08:29 +0900
commit75330887d72ea94562226442f854092327f68fa0 (patch)
treee311a77529b4e4eb622ef9ba058f7cb1863f17f8 /editor/animation_track_editor.h
parenta43db5afa4bbec4772be2f296931a6d44bb4cbb3 (diff)
Implement blending audio feature to AnimationTree
Diffstat (limited to 'editor/animation_track_editor.h')
-rw-r--r--editor/animation_track_editor.h5
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;