Changeset 33611 in osm for applications/editors/josm/plugins/opendata/src
- Timestamp:
- 2017-09-16T00:43:59+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/datasets/DataSetUpdater.java
r33595 r33611 12 12 import org.openstreetmap.josm.Main; 13 13 import org.openstreetmap.josm.actions.SimplifyWayAction; 14 import org.openstreetmap.josm.actions.SplitWayAction;15 import org.openstreetmap.josm.actions.SplitWayAction.SplitWayResult;16 14 import org.openstreetmap.josm.command.SequenceCommand; 15 import org.openstreetmap.josm.command.SplitWayCommand; 17 16 import org.openstreetmap.josm.data.osm.DataSet; 18 17 import org.openstreetmap.josm.data.osm.Node; … … 61 60 atNodes.add(w.getNode((int) ((i / n) * w.getNodesCount()))); 62 61 } 63 SplitWay Result res = SplitWayAction.split(w, atNodes, Collections.emptyList());62 SplitWayCommand res = SplitWayCommand.split(w, atNodes, Collections.emptyList()); 64 63 if (res != null) { 65 res. getCommand().executeCommand();64 res.executeCommand(); 66 65 } 67 66 }
Note:
See TracChangeset
for help on using the changeset viewer.