mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-04 23:57:17 -05:00
Fix previous scene not working for some sequences
If a duration for a transition is used that is longer than the scene switcher check interval it could happen that the "incorrect" previous scene could be chosen for uninterruptible scene sequences, as at the time the sequence check was preformed the "previous scene" variable was not yet updated as the transition was still ongoing.
This commit is contained in:
@@ -188,9 +188,9 @@ struct SwitcherData {
|
||||
void writeToStatusFile(QString status);
|
||||
|
||||
bool checkForMatch(OBSWeakSource &scene, OBSWeakSource &transition,
|
||||
int &linger);
|
||||
int &linger, bool &setPreviousSceneAsMatch);
|
||||
bool checkSceneSequence(OBSWeakSource &scene, OBSWeakSource &transition,
|
||||
int &linger);
|
||||
int &linger, bool &setPrevSceneAfterLinger);
|
||||
bool checkIdleSwitch(OBSWeakSource &scene, OBSWeakSource &transition);
|
||||
bool checkWindowTitleSwitch(OBSWeakSource &scene,
|
||||
OBSWeakSource &transition);
|
||||
|
||||
Reference in New Issue
Block a user