Changeset 35628 in osm for applications/editors/josm/plugins/comfort0/src
- Timestamp:
- 2020-10-29T00:14:21+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/comfort0/src/net/simon04/comfort0/EditLevel0LAction.java
r35627 r35628 22 22 import org.openstreetmap.josm.command.ChangePropertyCommand; 23 23 import org.openstreetmap.josm.command.Command; 24 import org.openstreetmap.josm.command.MoveCommand; 24 25 import org.openstreetmap.josm.command.SequenceCommand; 25 26 import org.openstreetmap.josm.data.UndoRedoHandler; 26 27 import org.openstreetmap.josm.data.osm.DataSet; 28 import org.openstreetmap.josm.data.osm.Node; 27 29 import org.openstreetmap.josm.data.osm.OsmPrimitive; 28 30 import org.openstreetmap.josm.data.osm.PrimitiveData; … … 140 142 commands.add(command); 141 143 } 144 145 if (fromDataSet instanceof Node && !Objects.equals(((Node) fromDataSet).getCoor(), ((Node) newInstance).getCoor())) { 146 final MoveCommand command = new MoveCommand(((Node) fromDataSet), ((Node) newInstance).getCoor()); 147 commands.add(command); 148 } 142 149 } 143 150 if (commands.isEmpty()) {
Note:
See TracChangeset
for help on using the changeset viewer.