提交 44b34431 编写于 作者: J jp9000

UI: Create default scene if no file found

上级 cd7a648b
......@@ -444,7 +444,9 @@ void OBSBasic::CleanupUnusedSources()
void OBSBasic::Load(const char *file)
{
if (!file || !os_file_exists(file)) {
blog(LOG_ERROR, "Could not find file %s", file);
blog(LOG_INFO, "No scene file found, creating default scene");
CreateDefaultScene();
SaveProject();
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册