From e2fb8739df2e29c82d6d3bce8540528c62fa7795 Mon Sep 17 00:00:00 2001 From: kobewi Date: Sun, 7 Nov 2021 16:38:56 +0100 Subject: [PATCH] Fix editor saving blank scenes (for real) (cherry picked from commit 8144ac79cfb07d4a5e5c906550de9352df68efd3) --- editor/editor_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index b9125ecd181..f8614b99a14 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1621,7 +1621,7 @@ void EditorNode::_save_all_scenes() { } else { _save_scene_with_preview(scene->get_filename()); } - } else { + } else if (scene->get_filename() != "") { all_saved = false; } }