Set current scene in handleSceneChange() and reuse it

This commit is contained in:
WarmUpTill
2021-06-22 20:30:41 +02:00
committed by WarmUpTill
parent 86fefe1e9e
commit 034a1b0c93
9 changed files with 20 additions and 51 deletions

View File

@@ -78,8 +78,8 @@ struct SwitcherData {
int interval = default_interval;
obs_source_t *waitScene = nullptr;
OBSWeakSource currentScene = nullptr;
OBSWeakSource previousScene = nullptr;
OBSWeakSource previousSceneHelper = nullptr;
OBSWeakSource lastRandomScene;
SceneGroup *lastRandomSceneGroup;
OBSWeakSource nonMatchingScene;