Changeset 3682 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2010-11-29T17:47:27+01:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
r3650 r3682 277 277 } else { 278 278 //reuse existing move command 279 moveCommand.undoCommand(); 280 moveCommand.moveAgain(bestMovement.getX(), bestMovement.getY()); 279 moveCommand.moveAgainTo(bestMovement.getX(), bestMovement.getY()); 281 280 } 282 281 } -
trunk/src/org/openstreetmap/josm/command/MoveCommand.java
r3266 r3682 98 98 } 99 99 100 public void moveAgainTo(double x, double y) { 101 moveAgain(x - this.x, y - this.y); 102 } 103 100 104 @Override public boolean executeCommand() { 101 105 for (Node n : nodes) {
Note:
See TracChangeset
for help on using the changeset viewer.