- Timestamp:
- 2007-10-15T23:01:05+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
r378 r393 203 203 // first way chunk. 204 204 List<Node> lastWayChunk = wayChunks.get(wayChunks.size() - 1); 205 if (wayChunks.size() >= 2 && wayChunks.get(0).get(0) == lastWayChunk.get(lastWayChunk.size() - 1)) { 205 if (wayChunks.size() >= 2 206 && wayChunks.get(0).get(0) == lastWayChunk.get(lastWayChunk.size() - 1) 207 && !nodeSet.contains(wayChunks.get(0).get(0))) { 206 208 lastWayChunk.remove(lastWayChunk.size() - 1); 207 209 lastWayChunk.addAll(wayChunks.get(0));
Note:
See TracChangeset
for help on using the changeset viewer.