Changeset 2120 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2009-09-13T22:23:19+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
r2101 r2120 286 286 public void build(DataSet ds) { 287 287 for (Relation r: ds.relations) { 288 if ( r.isDeleted() || r.incomplete) {288 if (!r.isUsable()) { 289 289 continue; 290 290 } -
trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
r2025 r2120 102 102 for (Node n : selectedNodes) { 103 103 for (Way w : getCurrentDataSet().ways) { 104 if ( w.isDeleted() || w.incomplete) {104 if (!w.isUsable()) { 105 105 continue; 106 106 } … … 293 293 294 294 for (Relation r : getCurrentDataSet().relations) { 295 if ( r.isDeleted() || r.incomplete) {295 if (!r.isUsable()) { 296 296 continue; 297 297 } -
trunk/src/org/openstreetmap/josm/actions/UnGlueAction.java
r2070 r2120 66 66 int count = 0; 67 67 for (Way w : getCurrentDataSet().ways) { 68 if ( w.isDeleted() || w.incomplete|| w.getNodesCount() < 1) {68 if (!w.isUsable() || w.getNodesCount() < 1) { 69 69 continue; 70 70 } -
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r2110 r2120 767 767 Way way = null; 768 768 for (Way w : getCurrentDataSet().ways) { 769 if ( w.isDeleted() || w.incomplete|| w.getNodesCount() < 1) {769 if (!w.isUsable() || w.getNodesCount() < 1) { 770 770 continue; 771 771 }
Note:
See TracChangeset
for help on using the changeset viewer.