Changeset 29638 in osm for applications/editors
- Timestamp:
- 2013-06-07T00:54:06+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java
r29637 r29638 80 80 Set<OsmPrimitive> parents = new HashSet<OsmPrimitive>(); 81 81 for (Node n : ds.getNodes()) { 82 if (n.isUsable() && n.getCoor() .isWithin(b)) {82 if (n.isUsable() && n.getCoor() != null && n.getCoor().isWithin(b)) { 83 83 parents.addAll(n.getReferrers()); 84 84 w.visit(n); … … 90 90 if (p instanceof Way) { 91 91 for (Node n : ((Way) p).getNodes()) { 92 if (n.getCoor() .isWithin(b))92 if (n.getCoor() != null && n.getCoor().isWithin(b)) 93 93 parents.add(n); 94 94 }
Note:
See TracChangeset
for help on using the changeset viewer.