浏览代码

Merge pull request #26451 from ptrojahn/modified

Fix misleading modified status of scenes
Rémi Verschelde 6 年之前
父节点
当前提交
856c36cb89
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {