summaryrefslogtreecommitdiffstats
path: root/editor/animation_bezier_editor.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-03-25 18:06:46 +0100
committerkobewi <kobewi4e@gmail.com>2022-08-22 18:05:10 +0200
commitece3df39386af85b069cbb67ae1893b4365f1bd3 (patch)
tree6d815d51c6e043470a08ad1eab993e4b288da8c9 /editor/animation_bezier_editor.cpp
parent99548e521dc049b609347cd1fe38262d59d1b0d6 (diff)
downloadredot-engine-ece3df39386af85b069cbb67ae1893b4365f1bd3.tar.gz
Add per-scene UndoRedo
Diffstat (limited to 'editor/animation_bezier_editor.cpp')
-rw-r--r--editor/animation_bezier_editor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/animation_bezier_editor.cpp b/editor/animation_bezier_editor.cpp
index e10ed7e976..11e46152ef 100644
--- a/editor/animation_bezier_editor.cpp
+++ b/editor/animation_bezier_editor.cpp
@@ -32,6 +32,7 @@
#include "editor/editor_node.h"
#include "editor/editor_scale.h"
+#include "editor/editor_undo_redo_manager.h"
#include "scene/gui/view_panner.h"
#include "scene/resources/text_line.h"
@@ -649,7 +650,7 @@ Size2 AnimationBezierTrackEdit::get_minimum_size() const {
return Vector2(1, 1);
}
-void AnimationBezierTrackEdit::set_undo_redo(UndoRedo *p_undo_redo) {
+void AnimationBezierTrackEdit::set_undo_redo(Ref<EditorUndoRedoManager> p_undo_redo) {
undo_redo = p_undo_redo;
}