Add EditorUndoRedoManager singleton

This commit is contained in:
kobewi committed 2023-01-16 01:11:52 +01:00
1 parent 91fedb60de
commit b58111588a
89 files changed
+551 -546

No files matched your search

+1 -1
View File
@@ -275,7 +275,7 @@ void EditorDebuggerNode::stop(bool p_force) {
});
_break_state_changed();
breakpoints.clear();
EditorNode::get_undo_redo()->clear_history(false, EditorUndoRedoManager::REMOTE_HISTORY);
EditorUndoRedoManager::get_singleton()->clear_history(false, EditorUndoRedoManager::REMOTE_HISTORY);
set_process(false);
}