Changeset 19577 in josm for trunk/src/org
- Timestamp:
- 2026-06-02T07:25:29+02:00 (3 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/relation/ExportRelationToGpxAction.java
r18211 r19577 176 176 Collections.reverse(ln); 177 177 for (Node n: ln) { 178 trkseg.add(OsmDataLayer.nodeToWayPoint(n, TimeUnit.SECONDS.toMillis(time))); 178 WayPoint point = OsmDataLayer.nodeToWayPoint(n, TimeUnit.SECONDS.toMillis(time)); 179 if (!trkseg.isEmpty()) { 180 // see #24745 don't add connecting way nodes twice 181 WayPoint last = trkseg.get(trkseg.size() - 1); 182 if (point.getCoor().equals(last.getCoor())) 183 continue; 184 } 185 trkseg.add(point); 179 186 time += 1; 180 187 }
Note:
See TracChangeset
for help on using the changeset viewer.
