Changeset 34824 in osm for applications/editors/josm/plugins/utilsplugin2
- Timestamp:
- 2019-01-14T07:00:19+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/SplitObjectAction.java
r34816 r34824 97 97 continue; 98 98 } 99 int last = w.getNodesCount() - 1; 100 // Only closed ways with at least four nodes 99 // Only closed ways with at least four distinct nodes 101 100 // (i.e. five members since the first/last is listed twice) 102 101 // can be split into two objects 103 if ( last <= 4|| !w.isClosed()) {102 if (w.getNodesCount() < 5 || !w.isClosed()) { 104 103 continue; 105 104 }
Note:
See TracChangeset
for help on using the changeset viewer.