mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-07 09:45:44 -05:00
Check for invalid transition settings
This commit is contained in:
parent
80b824e0a7
commit
cea4df90b1
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user