mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-07 09:05:57 -05:00
Check for invalid transition settings
This commit is contained in:
@@ -391,6 +391,12 @@ void SwitcherData::loadSceneTransitions(obs_data_t *obj)
|
||||
obs_data_get_bool(obj, "tansitionOverrideOverride");
|
||||
adjustActiveTransitionType =
|
||||
obs_data_get_bool(obj, "adjustActiveTransitionType");
|
||||
|
||||
// Check for invalid config
|
||||
if (!transitionOverrideOverride && !adjustActiveTransitionType) {
|
||||
adjustActiveTransitionType = true;
|
||||
}
|
||||
|
||||
DefaultSceneTransition::delay =
|
||||
obs_data_get_int(obj, "defTransitionDelay");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user