Ver Fonte

UI: Fix bug where default scene would not be added to list

jp9000 há 9 anos atrás
pai
commit
6da742ba02
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      obs/window-basic-main.cpp

+ 1 - 0
obs/window-basic-main.cpp

@@ -407,6 +407,7 @@ void OBSBasic::CreateDefaultScene(bool firstStart)
 		CreateFirstRunSources();
 
 	obs_set_output_source(0, obs_scene_get_source(scene));
+	AddScene(obs_scene_get_source(scene));
 	obs_scene_release(scene);
 
 	disableSaving--;