Changeset 3515 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2010-09-09T17:14:05+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
r3437 r3515 118 118 while (it.hasNext()) { 119 119 Way w = it.next(); 120 assert w.isUsable(); // Way is referrer of selected node(s) so it must be usable121 int last = w.getNodesCount() - 1;122 boolean circular = w.isClosed();123 124 120 for (Node n : selectedNodes) { 125 int i = w.getNodes().indexOf(n); 126 if (!(circular || (i > 0 && i < last))) { 121 if(!w.isInnerNode(n)) { 127 122 it.remove(); 128 123 continue WAY_LOOP;
Note:
See TracChangeset
for help on using the changeset viewer.