Merge pull request #3343 from cg2121/output-source-delete

UI: Fix output channels not being deleted
master
Jim 2020-08-26 01:13:09 -07:00 committed by GitHub
commit afb6e8acb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -4125,12 +4125,9 @@ void OBSBasic::ClearSceneData()
ClearProjectors();
obs_set_output_source(0, nullptr);
obs_set_output_source(1, nullptr);
obs_set_output_source(2, nullptr);
obs_set_output_source(3, nullptr);
obs_set_output_source(4, nullptr);
obs_set_output_source(5, nullptr);
for (int i = 0; i < MAX_CHANNELS; i++)
obs_set_output_source(i, nullptr);
lastScene = nullptr;
swapScene = nullptr;
programScene = nullptr;