Select product times based on current time, rather than volume time

Ensures scans not included in the volume times (e.g., multiple level 2 scans per file) are selected
This commit is contained in:
Dan Paulat 2024-10-27 08:45:15 -05:00
parent d209ce97ea
commit 2a9dc72721
5 changed files with 18 additions and 26 deletions

View file

@ -470,16 +470,8 @@ void TimelineManager::Impl::PlaySync()
auto selectTimeEnd = std::chrono::steady_clock::now();
auto elapsedTime = selectTimeEnd - selectTimeStart;
if (volumeTimeUpdated)
{
// Wait for radar sweeps to update
RadarSweepMonitorWait(radarSweepMonitorLock);
}
else
{
// Disable radar sweep monitor
RadarSweepMonitorDisable();
}
// Wait for radar sweeps to update
RadarSweepMonitorWait(radarSweepMonitorLock);
// Calculate the interval until the next update, prior to selecting
std::chrono::milliseconds interval;