Changeset 2635 in josm
- Timestamp:
- 2009-12-14T16:12:58+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java
r2626 r2635 535 535 ********** STEP 2a - CHECK CACHE VALIDITY ********************** 536 536 ****************************************************************/ 537 if (computeCacheInSync 538 && ((computeCacheMaxLineLengthUsed != maxLineLength) || (!neutralColor.equals(computeCacheColorUsed)) 539 || (computeCacheColored != colored) || (computeCacheColorTracksTune != colorTracksTune))) { 537 if ((computeCacheMaxLineLengthUsed != maxLineLength) || (!neutralColor.equals(computeCacheColorUsed)) 538 || (computeCacheColored != colored) || (computeCacheColorTracksTune != colorTracksTune)) { 540 539 // System.out.println("(re-)computing gpx line styles, reason: CCIS=" + 541 540 // computeCacheInSync + " CCMLLU=" + (computeCacheMaxLineLengthUsed != maxLineLength) + … … 555 554 WayPoint oldWp = null; 556 555 for (GpxTrack trk : data.tracks) { 557 if (!forceLines) { // don't draw lines between segments, unless forced to558 oldWp = null;559 }560 556 for (Collection<WayPoint> segment : trk.trackSegs) { 557 if (!forceLines) { // don't draw lines between segments, unless forced to 558 oldWp = null; 559 } 561 560 for (WayPoint trkPnt : segment) { 562 561 LatLon c = trkPnt.getCoor();
Note:
See TracChangeset
for help on using the changeset viewer.