From 44b34431bec6ef165ea80c4ca67d290edc185a7a Mon Sep 17 00:00:00 2001 From: jp9000 Date: Fri, 11 Sep 2015 21:45:06 -0700 Subject: [PATCH] UI: Create default scene if no file found --- obs/window-basic-main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/obs/window-basic-main.cpp b/obs/window-basic-main.cpp index 91f3ee91d..2e91175ba 100644 --- a/obs/window-basic-main.cpp +++ b/obs/window-basic-main.cpp @@ -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; } -- GitLab