aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/animation_editor.h
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-09 00:41:16 -0300
committerJuan Linietsky2017-01-09 00:41:16 -0300
commita168cd7a235d803680b0093df9baa427ffa7b21e (patch)
tree2bf7eff42461388d05ec9f7ce956dbbd3924700c /tools/editor/animation_editor.h
parent62273e51a252287d1c60228e8a8e8939ecaa73c6 (diff)
downloadgodot-a168cd7a235d803680b0093df9baa427ffa7b21e.tar.gz
godot-a168cd7a235d803680b0093df9baa427ffa7b21e.tar.zst
godot-a168cd7a235d803680b0093df9baa427ffa7b21e.zip
Add clamp and wrap loop modes for animation tracks.
Diffstat (limited to 'tools/editor/animation_editor.h')
-rw-r--r--tools/editor/animation_editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/editor/animation_editor.h b/tools/editor/animation_editor.h
index 10cc1bf61..0c9b0b5ac 100644
--- a/tools/editor/animation_editor.h
+++ b/tools/editor/animation_editor.h
@@ -113,6 +113,7 @@ class AnimationKeyEditor : public VBoxContainer {
OVER_KEY,
OVER_VALUE,
OVER_INTERP,
+ OVER_WRAP,
OVER_UP,
OVER_DOWN,
OVER_REMOVE,
@@ -166,7 +167,9 @@ class AnimationKeyEditor : public VBoxContainer {
int track_name_editing;
int interp_editing;
int cont_editing;
+ int wrap_editing;
int selected_track;
+ int track_ofs[5];
int last_menu_track_opt;
LineEdit *track_name;