1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -05: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

View File

@ -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);
}