Browse Source

Merge pull request #26451 from ptrojahn/modified

Fix misleading modified status of scenes
Rémi Verschelde 6 years ago
parent
commit
856c36cb89
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/editor_node.cpp

+ 1 - 1
editor/editor_node.cpp

@@ -2852,7 +2852,7 @@ bool EditorNode::is_changing_scene() const {
 
 void EditorNode::_clear_undo_history() {
 
-	get_undo_redo()->clear_history();
+	get_undo_redo()->clear_history(false);
 }
 
 void EditorNode::set_current_scene(int p_idx) {