Explorar o código

Fix editor saving blank scenes (for real)

(cherry picked from commit 8144ac79cfb07d4a5e5c906550de9352df68efd3)
kobewi %!s(int64=3) %!d(string=hai) anos
pai
achega
0f422ad35b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      editor/editor_node.cpp

+ 1 - 1
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;
 			}
 		}