From f764db1bddad9925b8434642b8f27d89ab246d64 Mon Sep 17 00:00:00 2001 From: kobewi Date: Wed, 7 Dec 2022 18:15:09 +0100 Subject: Add remote history to EditorUndoRedoManager --- editor/debugger/editor_debugger_node.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/debugger/editor_debugger_node.cpp') 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); } -- cgit v1.2.3