Merge pull request #4205 from osmandapp/fix_trk_and_rt_points
Fix trk and rt points
This commit is contained in:
commit
4f08959f7e
1 changed files with 3 additions and 4 deletions
|
@ -528,10 +528,9 @@ public class GpxSelectionHelper {
|
|||
public void processPoints() {
|
||||
update();
|
||||
this.processedPointsToDisplay = gpxFile.proccessPoints();
|
||||
List<TrkSegment> processedRoutePointsToDisplay = gpxFile.processRoutePoints();
|
||||
if (!processedRoutePointsToDisplay.isEmpty()) {
|
||||
this.processedPointsToDisplay.addAll(processedRoutePointsToDisplay);
|
||||
routePoints = !processedRoutePointsToDisplay.isEmpty();
|
||||
if (this.processedPointsToDisplay.isEmpty()) {
|
||||
this.processedPointsToDisplay = gpxFile.processRoutePoints();
|
||||
routePoints = !this.processedPointsToDisplay.isEmpty();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue