From ccc824abc185aaab7f6ccb85a8b81e4c5ce7de97 Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Sun, 2 Aug 2020 17:46:36 +0200 Subject: [PATCH] fix loading of old delay values --- src/scene-round-trip.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scene-round-trip.cpp b/src/scene-round-trip.cpp index a26e80c7..06393675 100644 --- a/src/scene-round-trip.cpp +++ b/src/scene-round-trip.cpp @@ -373,6 +373,7 @@ void SwitcherData::loadSceneRoundTripSwitches(obs_data_t *obj) delay = delay * 1000 + obs_data_get_int(array_obj, "sceneRoundTripDelayMs"); + delay /= 1000; } else { delay = obs_data_get_double(array_obj, "delay"); } @@ -394,6 +395,7 @@ void SwitcherData::loadSceneRoundTripSwitches(obs_data_t *obj) } obs_data_array_release(sceneRoundTripArray); } + void SceneSwitcher::setupSequenceTab() { populateSceneSelection(ui->sceneRoundTripScenes1, false);