1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Expose EditorUndoRedoManager's clear_history()

This commit is contained in:
kobewi
2024-04-02 13:33:12 +02:00
parent fd7239cfab
commit ad7a2d19a6
11 changed files with 47 additions and 18 deletions

View File

@@ -303,7 +303,7 @@ void EditorDebuggerNode::stop(bool p_force) {
});
_break_state_changed();
breakpoints.clear();
EditorUndoRedoManager::get_singleton()->clear_history(false, EditorUndoRedoManager::REMOTE_HISTORY);
EditorUndoRedoManager::get_singleton()->clear_history(EditorUndoRedoManager::REMOTE_HISTORY, false);
set_process(false);
}