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/actions/mapmode/SelectAction.java

    r1634 r1640  
    224224
    225225                for (Node n : affectedNodes) {
    226                     if (n.coor.isOutSideWorld()) {
     226                    if (n.getCoor().isOutSideWorld()) {
    227227                        // Revert move
    228228                        ((MoveCommand) c).moveAgain(-dx, -dy);
     
    280280                {
    281281                    Way w = (Way)osm;
    282                     Point p1 = c.getPoint(w.nodes.get(nearestWS.lowerIndex).eastNorth);
    283                     Point p2 = c.getPoint(w.nodes.get(nearestWS.lowerIndex+1).eastNorth);
     282                    Point p1 = c.getPoint(w.nodes.get(nearestWS.lowerIndex).getEastNorth());
     283                    Point p2 = c.getPoint(w.nodes.get(nearestWS.lowerIndex+1).getEastNorth());
    284284                    if(SimplePaintVisitor.isLargeSegment(p1, p2, Main.pref.getInteger("mappaint.node.virtual-space", 70)))
    285285                    {
Note: See TracChangeset for help on using the changeset viewer.