1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -04:00

Delete old ground tracks. Fix for #877.

This commit is contained in:
Jon Beniston
2021-04-28 15:31:45 +01:00
parent 3b1013baec
commit af910fba5e
@@ -479,6 +479,8 @@ void getSatelliteState(QDateTime dateTime,
noOfPasses);
}
qDeleteAll(satState->m_groundTrack);
qDeleteAll(satState->m_predictedGroundTrack);
getGroundTrack(dateTime, tle0, tle1, tle2, groundTrackSteps, false, satState->m_groundTrack);
getGroundTrack(dateTime, tle0, tle1, tle2, groundTrackSteps, true, satState->m_predictedGroundTrack);
}