mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-10-02 22:38:06 -05:00
Fix for idle detection settings resetting
This commit is contained in:
@@ -140,8 +140,6 @@ struct SwitcherData
|
||||
|
||||
if (!WeakSourceValid(idleData.scene) || !WeakSourceValid(idleData.transition))
|
||||
{
|
||||
idleData.scene = NULL;
|
||||
idleData.transition = NULL;
|
||||
idleData.idleEnable = false;
|
||||
}
|
||||
}
|
||||
@@ -2383,8 +2381,9 @@ void SwitcherData::Thread()
|
||||
bool pause = false;
|
||||
bool sceneRoundTripActive = false;
|
||||
|
||||
switcher->Prune();
|
||||
|
||||
// Files
|
||||
// TODO add transitions to output file / read them in the input file
|
||||
obs_source_t* currentSource = obs_frontend_get_current_scene();
|
||||
|
||||
if (fileIO.writeEnabled)
|
||||
@@ -2606,8 +2605,6 @@ void SwitcherData::Thread()
|
||||
|
||||
// End Ignore Windows
|
||||
|
||||
switcher->Prune();
|
||||
|
||||
// Idle switch
|
||||
|
||||
if (!match && idleData.idleEnable)
|
||||
|
||||
Reference in New Issue
Block a user