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. --- core/object/undo_redo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/object/undo_redo.cpp b/core/object/undo_redo.cpp index c5b66cda8c..65bae6f6e8 100644 --- a/core/object/undo_redo.cpp +++ b/core/object/undo_redo.cpp @@ -30,8 +30,8 @@ #include "undo_redo.h" +#include "core/io/resource.h" #include "core/os/os.h" -#include "core/resource.h" void UndoRedo::_discard_redo() { if (current_action == actions.size() - 1) { -- cgit v1.2.3