Changeset 25859 in osm for applications/editors
- Timestamp:
- 2011-04-16T21:01:03+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/dumbutils/src/dumbutils/ReplaceGeometryAction.java
r25857 r25859 62 62 Area a = getCurrentDataSet().getDataSourceArea(); 63 63 for( Node node : way.getNodes() ) { 64 if( !node.isDeleted() && node.isReferredByWays(1) && (node.isNewOrUndeleted() || a.contains(node.getCoor())) ) 64 List<OsmPrimitive> referrers = node.getReferrers(); 65 if( !node.isDeleted() && referrers.size() == 1 && referrers.get(0).equals(way) 66 && (node.isNewOrUndeleted() || a.contains(node.getCoor())) ) 65 67 nodesToDelete.add(node); 66 68 }
Note:
See TracChangeset
for help on using the changeset viewer.