Changeset 35051 in osm for applications/editors/josm/plugins
- Timestamp:
- 2019-07-07T23:11:30+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementDialog.java
r35047 r35051 304 304 305 305 private boolean parentsContain(Way w) { 306 return w.getReferrers( ).stream()306 return w.getReferrers(true).stream() 307 307 .anyMatch(ref -> ref instanceof Relation && relations != null && relations.contains(ref)); 308 308 } 309 309 310 310 private boolean parentsContain(Node n) { 311 return n.getReferrers( ).stream()311 return n.getReferrers(true).stream() 312 312 .anyMatch(ref 313 313 -> (ref instanceof Way && ((ways != null && ways.contains(ref)) || parentsContain((Way) ref)))
Note:
See TracChangeset
for help on using the changeset viewer.