Changeset 15000 in josm
- Timestamp:
- 2019-04-19T22:32:15+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/MoveCommand.java
r14302 r15000 181 181 public void moveAgain(double x, double y) { 182 182 for (Node n : nodes) { 183 n.setEastNorth(n.getEastNorth().add(x, y)); 183 EastNorth eastNorth = n.getEastNorth(); 184 if (eastNorth != null) { 185 n.setEastNorth(eastNorth.add(x, y)); 186 } 184 187 } 185 188 this.x += x;
Note:
See TracChangeset
for help on using the changeset viewer.