summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2020-12-20 11:46:44 +0100
committerPedro J. Estébanez <pedrojrulez@gmail.com>2020-12-20 12:45:08 +0100
commitb7367ac426659e02facc7c828e57aa687cce957c (patch)
tree09fe174ea963c2745f8b268454acb5a39dab7de9 /core
parent1f52782bbb417e559be9317cd56acb37b6d15a9a (diff)
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.
Diffstat (limited to 'core')
-rw-r--r--core/object/undo_redo.cpp2
1 files changed, 1 insertions, 1 deletions
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) {