Changeset 35438 in osm for applications/editors/josm/plugins/utilsplugin2/src/org
- Timestamp:
- 2020-05-13T11:22:43+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/curves/CircleArcMaker.java
r35436 r35438 23 23 import org.openstreetmap.josm.data.osm.DataSet; 24 24 import org.openstreetmap.josm.data.osm.Node; 25 import org.openstreetmap.josm.data.osm.Relation;26 25 import org.openstreetmap.josm.data.osm.Way; 27 26 import org.openstreetmap.josm.data.projection.ProjectionRegistry; … … 136 135 Set<Node> fixNodes = new HashSet<>(anchorNodes); 137 136 if (!selectedWays.isEmpty()) { 138 nodes.stream().filter( 139 n -> n.isTagged() || n.getParentWays().size() > 1 || n.referrers(Relation.class).count() > 0) 140 .forEach(fixNodes::add); 137 nodes.stream().filter(n -> n.getParentWays().size() > 1 || n.isTagged()).forEach(fixNodes::add); 141 138 } 142 139 boolean needsUndo = false;
Note:
See TracChangeset
for help on using the changeset viewer.