Changeset 29121 in osm for applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap
- Timestamp:
- 2012-12-26T14:48:29+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/SplitObjectAction.java
r28556 r29121 76 76 Way splitWay = null; 77 77 78 if (selectedNodes.isEmpty()) { // if no nodes are selected - try to find split way 78 if (selectedNodes.size() != 2) { // if not exactly 2 nodes are selected - try to find split way 79 selectedNodes.clear(); // empty selected nodes (see #8237) 79 80 for (Way selWay : selectedWays) { // we assume not more 2 ways in the list 80 81 if (selWay != null && // If one of selected ways is not closed we have it to get split points
Note:
See TracChangeset
for help on using the changeset viewer.