File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -655,10 +655,9 @@ void SwitcherData::saveGeneralSettings(obs_data_t *obj)
655
655
656
656
obs_data_set_bool (obj, " tansitionOverrideOverride" ,
657
657
transitionOverrideOverride);
658
- obs_data_set_default_bool (obj, " adjustActiveTransitionType" ,
659
- adjustActiveTransitionType);
660
658
obs_data_set_bool (obj, " adjustActiveTransitionType" ,
661
659
adjustActiveTransitionType);
660
+
662
661
obs_data_set_string (obj, " lastImportPath" , lastImportPath.c_str ());
663
662
}
664
663
@@ -741,6 +740,12 @@ void SwitcherData::loadGeneralSettings(obs_data_t *obj)
741
740
adjustActiveTransitionType =
742
741
obs_data_get_bool (obj, " adjustActiveTransitionType" );
743
742
743
+ if (!transitionOverrideOverride && !adjustActiveTransitionType) {
744
+ blog (LOG_INFO,
745
+ " reset transition behaviour to adjust active transition type" );
746
+ adjustActiveTransitionType = true ;
747
+ }
748
+
744
749
lastImportPath = obs_data_get_string (obj, " lastImportPath" );
745
750
}
746
751
You can’t perform that action at this time.
0 commit comments