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:
parent
8aa38c9ad8
commit
9e85d17241
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ void UndoRedo::clear_history() {
|
|||
while (actions.size())
|
||||
_pop_history_tail();
|
||||
|
||||
//version++;
|
||||
version++;
|
||||
}
|
||||
|
||||
String UndoRedo::get_current_action_name() const {
|
||||
|
|
Loading…
Reference in a new issue