Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f6ac217dfa
1 changed files with 5 additions and 3 deletions
|
@ -813,9 +813,11 @@ public class GPXUtilities {
|
|||
for (int i = 0; i < tracks.size(); i++) {
|
||||
Track subtrack = tracks.get(i);
|
||||
for (TrkSegment segment : subtrack.segments) {
|
||||
g.totalTracks++;
|
||||
if (segment.points.size() > 1) {
|
||||
splitSegments.add(new SplitSegment(segment));
|
||||
if (!segment.generalSegment) {
|
||||
g.totalTracks++;
|
||||
if (segment.points.size() > 1) {
|
||||
splitSegments.add(new SplitSegment(segment));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue