Changeset 19166 in josm
- Timestamp:
- 2024-08-05T20:33:25+02:00 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/WireframeMapRenderer.java
r18031 r19166 178 178 } 179 179 } 180 displaySegments(); 180 181 } 181 182 displaySegments(); … … 352 353 g.setColor(col); 353 354 355 Bounds viewArea = mapState.getViewArea().getLatLonBoundsBox(); 354 356 for (IRelationMember<?> m : r.getMembers()) { 355 357 if (m.getMember().isIncomplete() || !m.getMember().isDrawable()) { … … 357 359 } 358 360 359 if (m.isNode() ) {361 if (m.isNode() && viewArea.contains((INode) m.getMember())) { 360 362 MapViewPoint p = mapState.getPointFor((INode) m.getMember()); 361 363 if (p.isInView()) { … … 363 365 } 364 366 365 } else if (m.isWay() ) {367 } else if (m.isWay() && viewArea.contains(m.getMember().getBBox())) { 366 368 GeneralPath path = new GeneralPath(); 367 369
Note:
See TracChangeset
for help on using the changeset viewer.