Ignore:
Timestamp:
2009-06-06T14:30:21+02:00 (15 years ago)
Author:
stoecker
Message:

little bit more refactoring of coordinate access - patch by jttt

File:
1 edited

Legend:

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

    r1558 r1640  
    427427                    doneNodes.add(n);
    428428                }
    429                 WayPoint wpt = new WayPoint(n.coor);               
     429                WayPoint wpt = new WayPoint(n.getCoor());               
    430430                if (!n.isTimestampEmpty())
    431431                {
     
    441441        for (Node n : data.nodes) {
    442442            if (n.incomplete || n.deleted || doneNodes.contains(n)) continue;
    443             WayPoint wpt = new WayPoint(n.coor);
     443            WayPoint wpt = new WayPoint(n.getCoor());
    444444            if (!n.isTimestampEmpty()) {
    445445                wpt.attr.put("time", DateUtils.fromDate(n.getTimestamp()));
Note: See TracChangeset for help on using the changeset viewer.