summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-07 20:33:30 +0100
committerGitHub <noreply@github.com>2021-11-07 20:33:30 +0100
commit79f233349f6f6c16eb193cd8d626c9f30bd3e208 (patch)
tree2993d629dca70907a85114724d55f4dc2016f212
parentf49d679de4a63f4649c58b91ece5b1915554359e (diff)
parent8144ac79cfb07d4a5e5c906550de9352df68efd3 (diff)
Merge pull request #54721 from KoBeWi/fix_saving_blank_scenes-true_edition
Fix editor saving blank scenes (for real)
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index d855085719..7db49c45dd 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -1791,7 +1791,7 @@ void EditorNode::_save_all_scenes() {
} else {
_save_scene_with_preview(scene->get_scene_file_path());
}
- } else {
+ } else if (scene->get_scene_file_path() != "") {
all_saved = false;
}
}