Changeset 3892 in osm
- Timestamp:
- 2007-08-02T10:18:22+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/navigator/src/at/dallermassl/josm/plugin/navigator/OsmGraphCreator.java
r3865 r3892 58 58 // iterate all ways and segments for all nodes: 59 59 for(Way way : Main.ds.ways) { 60 if(!way.deleted) { 60 if(way != null && !way.deleted) { 61 61 for(Segment segment : way.segments) { 62 if(!segment.deleted) { 62 if(segment != null && !segment.deleted && segment.from != null && segment.to != null) { 63 63 graph.addVertex(segment.from); 64 64 graph.addVertex(segment.to);
Note:
See TracChangeset
for help on using the changeset viewer.