Ignore:
Timestamp:
2009-07-04T14:04:08+02:00 (14 years ago)
Author:
stoecker
Message:

fixed #2804 - move mode not working

Location:
trunk/src/org/openstreetmap/josm/command
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/MoveCommand.java

    r1722 r1728  
    6969        for (Node n : this.objects) {
    7070            OldState os = new OldState();
    71             os.latlon = n.getCoor();
     71            os.latlon = new LatLon(n.getCoor());
    7272            os.modified = n.modified;
    7373            oldState.add(os);
  • trunk/src/org/openstreetmap/josm/command/RotateCommand.java

    r1722 r1728  
    7575        for (Node n : this.objects) {
    7676            OldState os = new OldState();
    77             os.latlon = n.getCoor();
     77            os.latlon = new LatLon(n.getCoor());
    7878            os.eastNorth = n.getEastNorth();
    7979            os.modified = n.modified;
Note: See TracChangeset for help on using the changeset viewer.