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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user