summaryrefslogtreecommitdiff
path: root/editor/debugger/editor_debugger_node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-14 00:19:23 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-14 00:19:23 +0100
commitf3080459d9a5cf496b96a4aab357c2c5a63a5507 (patch)
treea89ec778bce3e9b32829e29621beb3c63ee17bcf /editor/debugger/editor_debugger_node.cpp
parentef3c756e98d7a890ee5d905f5055b16b22b55baa (diff)
parentf764db1bddad9925b8434642b8f27d89ab246d64 (diff)
Merge pull request #69732 from KoBeWi/rc_undo
Add remote history to EditorUndoRedoManager
Diffstat (limited to 'editor/debugger/editor_debugger_node.cpp')
-rw-r--r--editor/debugger/editor_debugger_node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/debugger/editor_debugger_node.cpp b/editor/debugger/editor_debugger_node.cpp
index 610f467faa..0a0f0cf90a 100644
--- a/editor/debugger/editor_debugger_node.cpp
+++ b/editor/debugger/editor_debugger_node.cpp
@@ -36,6 +36,7 @@
#include "editor/editor_log.h"
#include "editor/editor_node.h"
#include "editor/editor_settings.h"
+#include "editor/editor_undo_redo_manager.h"
#include "editor/inspector_dock.h"
#include "editor/plugins/editor_debugger_plugin.h"
#include "editor/plugins/script_editor_plugin.h"
@@ -274,6 +275,7 @@ void EditorDebuggerNode::stop(bool p_force) {
});
_break_state_changed();
breakpoints.clear();
+ EditorNode::get_undo_redo()->clear_history(false, EditorUndoRedoManager::REMOTE_HISTORY);
set_process(false);
}