Ver Fonte

Fix editor saving blank scenes (for real)

kobewi há 3 anos atrás
pai
commit
8144ac79cf
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      editor/editor_node.cpp

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