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.
This commit is contained in:
Juan Linietsky 2018-11-16 16:20:10 -03:00
parent 8aa38c9ad8
commit 9e85d17241

View file

@ -333,7 +333,7 @@ void UndoRedo::clear_history() {
while (actions.size())
_pop_history_tail();
//version++;
version++;
}
String UndoRedo::get_current_action_name() const {