Explorar o código

Merge pull request #26451 from ptrojahn/modified

Fix misleading modified status of scenes
Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
856c36cb89
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {