- Timestamp:
- 2008-08-24T19:13:56+02:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm/visitor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java
r860 r862 265 265 266 266 protected void displaySegments(Color newColor, int newWidth, boolean newDash) { 267 268 267 if (currentPath != null) { 269 268 Graphics2D g2d = (Graphics2D)g; -
trunk/src/org/openstreetmap/josm/data/osm/visitor/SimplePaintVisitor.java
r860 r862 129 129 if (!osm.deleted && !osm.selected && osm.tagged) 130 130 osm.visit(this); 131 displaySegments( null);131 displaySegments(); 132 132 133 133 for (final OsmPrimitive osm : data.ways) 134 134 if (!osm.deleted && !osm.selected && !osm.tagged) 135 135 osm.visit(this); 136 displaySegments( null);136 displaySegments(); 137 137 138 138 for (final OsmPrimitive osm : data.getSelected()) 139 139 if (!osm.deleted) 140 140 osm.visit(this); 141 displaySegments( null);141 displaySegments(); 142 142 143 143 for (final OsmPrimitive osm : data.nodes) … … 150 150 if (!osm.deleted) 151 151 visitVirtual((Way)osm); 152 displaySegments( null);152 displaySegments(); 153 153 } 154 154 } … … 297 297 } 298 298 299 displaySegments( currentColor); // draw nodes on top!299 displaySegments(); // draw nodes on top! 300 300 Color c = g.getColor(); 301 301 g.setColor(backgroundColor); … … 331 331 */ 332 332 protected void drawSegment(Point p1, Point p2, Color col, boolean showDirection) { 333 334 333 if (col != currentColor) displaySegments(col); 335 334 … … 363 362 } 364 363 364 protected void displaySegments() { 365 displaySegments(null); 366 } 365 367 protected void displaySegments(Color newColor) { 366 368 if (currentPath != null) {
Note:
See TracChangeset
for help on using the changeset viewer.