From b7367ac426659e02facc7c828e57aa687cce957c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Sun, 20 Dec 2020 11:46:44 +0100 Subject: Add animation reset track feature As a bonus, to have consistency between use Beziers and create insert tracks, use Beziers also gets a default via editor settings that is used when the confirmation dialog is disabled, instead of just falling back to creating non-Bezier tracks. --- editor/plugins/animation_player_editor_plugin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/plugins/animation_player_editor_plugin.h') diff --git a/editor/plugins/animation_player_editor_plugin.h b/editor/plugins/animation_player_editor_plugin.h index 17e554ee0d..ab3feb115f 100644 --- a/editor/plugins/animation_player_editor_plugin.h +++ b/editor/plugins/animation_player_editor_plugin.h @@ -105,6 +105,8 @@ class AnimationPlayerEditor : public VBoxContainer { Label *name_title; UndoRedo *undo_redo; Ref autoplay_icon; + Ref reset_icon; + Ref autoplay_reset_icon; bool last_active; float timeline_position; -- cgit v1.2.3