Changeset 15001 in josm


Ignore:
Timestamp:
2019-04-20T07:45:10+02:00 (8 months ago)
Author:
GerdP
Message:

fix #17596: No lines displayed for GPX tracks without tags
Patch by Bjoeni

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelper.java

    r14748 r15001  
    616616                    default: // Do nothing
    617617                    }
    618                     if (!noDraw && !segment.isUnordered() && (maxLineLength == -1 || dist <= maxLineLength)) {
     618                    if (!noDraw && (!segment.isUnordered() || !data.fromServer) && (maxLineLength == -1 || dist <= maxLineLength)) {
    619619                        trkPnt.drawLine = true;
    620620                        double bearing = oldWp.getCoor().bearing(trkPnt.getCoor());
Note: See TracChangeset for help on using the changeset viewer.