diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-11-16 16:20:10 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-11-16 16:20:10 -0300 |
commit | 9e85d17241228b02e3bd500b48084a584bc04905 (patch) | |
tree | db57c69843f510650f17f566f1c9ab2949c59223 | |
parent | 8aa38c9ad81fe956404009c1f6fb1a187484bef4 (diff) |
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.
-rw-r--r-- | core/undo_redo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |