From 9e85d17241228b02e3bd500b48084a584bc04905 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 16 Nov 2018 16:20:10 -0300 Subject: Clearing history increments version, else it does not generate an asterisk on modification if the scene was just saved. Fixes #18027. Still I feel this line was commented for a reason. If you bisect a bug and find this commit, let me know. --- core/undo_redo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/undo_redo.cpp b/core/undo_redo.cpp index 7d67076df5..6f7c8ea08a 100644 --- a/core/undo_redo.cpp +++ b/core/undo_redo.cpp @@ -333,7 +333,7 @@ void UndoRedo::clear_history() { while (actions.size()) _pop_history_tail(); - //version++; + version++; } String UndoRedo::get_current_action_name() const { -- cgit v1.2.3