Changeset 35438 in osm for applications


Ignore:
Timestamp:
2020-05-13T11:22:43+02:00 (4 years ago)
Author:
gerdp
Message:

revert changes from o35434, forgot to adapt main version :(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/curves/CircleArcMaker.java

    r35436 r35438  
    2323import org.openstreetmap.josm.data.osm.DataSet;
    2424import org.openstreetmap.josm.data.osm.Node;
    25 import org.openstreetmap.josm.data.osm.Relation;
    2625import org.openstreetmap.josm.data.osm.Way;
    2726import org.openstreetmap.josm.data.projection.ProjectionRegistry;
     
    136135        Set<Node> fixNodes = new HashSet<>(anchorNodes);
    137136        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);
    141138        }
    142139        boolean needsUndo = false;
Note: See TracChangeset for help on using the changeset viewer.