Changeset 5351 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2012-07-19T10:55:57+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/WireframeMapRenderer.java
r4952 r5351 138 138 require changing the colour while painting... */ 139 139 for (final OsmPrimitive osm: data.searchRelations(bbox)) { 140 if ( !osm.isDeleted() && !ds.isSelected(osm) && !osm.isDisabledAndHidden()) {140 if (osm.isDrawable() && !ds.isSelected(osm) && !osm.isDisabledAndHidden()) { 141 141 osm.visit(this); 142 142 } … … 144 144 145 145 for (final OsmPrimitive osm:data.searchWays(bbox)){ 146 if ( !osm.isDeleted() && !ds.isSelected(osm) && !osm.isDisabledAndHidden() && osm.isTagged()) {146 if (osm.isDrawable() && !ds.isSelected(osm) && !osm.isDisabledAndHidden() && osm.isTagged()) { 147 147 osm.visit(this); 148 148 } … … 151 151 152 152 for (final OsmPrimitive osm:data.searchWays(bbox)){ 153 if ( !osm.isDeleted() && !ds.isSelected(osm) && !osm.isDisabledAndHidden() && !osm.isTagged()) {153 if (osm.isDrawable() && !ds.isSelected(osm) && !osm.isDisabledAndHidden() && !osm.isTagged()) { 154 154 osm.visit(this); 155 155 } … … 157 157 displaySegments(); 158 158 for (final OsmPrimitive osm : data.getSelected()) { 159 if ( !osm.isDeleted()) {159 if (osm.isDrawable()) { 160 160 osm.visit(this); 161 161 } … … 164 164 165 165 for (final OsmPrimitive osm: data.searchNodes(bbox)) { 166 if ( !osm.isDeleted() && !ds.isSelected(osm) && !osm.isDisabledAndHidden())166 if (osm.isDrawable() && !ds.isSelected(osm) && !osm.isDisabledAndHidden()) 167 167 { 168 168 osm.visit(this); … … 344 344 345 345 for (RelationMember m : r.getMembers()) { 346 if (m.getMember().isIncomplete() || m.getMember().isDeleted()) {346 if (m.getMember().isIncomplete() || !m.getMember().isDrawable()) { 347 347 continue; 348 348 } … … 361 361 boolean first = true; 362 362 for (Node n : m.getWay().getNodes()) { 363 if ( n.isIncomplete() || n.isDeleted()) {363 if (!n.isDrawable()) { 364 364 continue; 365 365 }
Note:
See TracChangeset
for help on using the changeset viewer.