Changeset 407 in josm
- Timestamp:
- 2007-10-19T13:50:36+02:00 (17 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r397 r407 31 31 32 32 <!-- create josm-custom.jar --> 33 <delete file="dist/josm-custom.jar"/> 33 34 <jar destfile="dist/josm-custom.jar" basedir="build"> 34 35 <manifest> -
trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
r406 r407 80 80 HashSet<Relation> relationsUsingWays = new HashSet<Relation>(); 81 81 for (Relation r : Main.ds.relations) { 82 if (r.deleted ) continue;82 if (r.deleted || r.incomplete) continue; 83 83 for (RelationMember rm : r.members) { 84 84 if (rm.member instanceof Way) { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/CollectBackReferencesVisitor.java
r358 r407 46 46 public void visit(Node n) { 47 47 for (Way w : ds.ways) { 48 if (w.deleted) 49 continue; 48 if (w.deleted || w.incomplete) continue; 50 49 for (Node n2 : w.nodes) { 51 50 if (n == n2) { -
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r386 r407 157 157 TreeMap<Double, List<WaySegment>> nearest = new TreeMap<Double, List<WaySegment>>(); 158 158 for (Way w : Main.ds.ways) { 159 if (w.deleted) 160 continue; 159 if (w.deleted || w.incomplete) continue; 161 160 Node lastN = null; 162 161 int i = -2; 163 162 for (Node n : w.nodes) { 164 163 i++; 165 if (n.deleted ) continue;164 if (n.deleted || n.incomplete) continue; 166 165 if (lastN == null) { 167 166 lastN = n; … … 261 260 Collection<OsmPrimitive> nearest = new HashSet<OsmPrimitive>(); 262 261 for (Way w : Main.ds.ways) { 263 if (w.deleted ) continue;262 if (w.deleted || w.incomplete) continue; 264 263 Node lastN = null; 265 264 for (Node n : w.nodes) { 266 if (n.deleted ) continue;265 if (n.deleted || n.incomplete) continue; 267 266 if (lastN == null) { 268 267 lastN = n; … … 283 282 } 284 283 for (Node n : Main.ds.nodes) { 285 if (!n.deleted && getPoint(n.eastNorth).distanceSq(p) < 100) { 284 if (!n.deleted && !n.incomplete 285 && getPoint(n.eastNorth).distanceSq(p) < 100) { 286 286 nearest.add(n); 287 287 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/PropertiesDialog.java
r397 r407 484 484 TreeMap<Relation, Collection<String>> roles = new TreeMap<Relation, Collection<String>>(); 485 485 for (Relation r : Main.ds.relations) { 486 if (!r.deleted ) {486 if (!r.deleted && !r.incomplete) { 487 487 for (RelationMember m : r.members) { 488 488 if (newSelection.contains(m.member)) { -
trunk/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java
r385 r407 123 123 int i = 0; 124 124 for (Relation e : Main.ds.relations) { 125 if (!e.deleted )125 if (!e.deleted && !e.incomplete) 126 126 list.setElementAt(e, i++); 127 127 } -
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r381 r407 195 195 @Override public void visitBoundingBox(final BoundingXYVisitor v) { 196 196 for (final Node n : data.nodes) 197 if (!n.deleted )197 if (!n.deleted && !n.incomplete) 198 198 v.visit(n); 199 199 }
Note:
See TracChangeset
for help on using the changeset viewer.