Changeset 2590 in josm for trunk/src/org
- Timestamp:
- 2009-12-06T18:18:04+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java
r2580 r2590 741 741 742 742 /* rotate icon with direction last node in from to */ 743 ImageIcon rotatedIcon = ImageProvider.createRotatedImage(null /*icon2*/, inactive || r.isDisabled() ? 744 745 743 ImageIcon rotatedIcon = ImageProvider.createRotatedImage(null /*icon2*/, inactive || r.isDisabled() ? 744 nodeStyle.getDisabledIcon() : 745 nodeStyle.icon, iconAngle); 746 746 747 747 /* scale down icon to 16*16 pixels */ … … 1311 1311 boolean drawable(OsmPrimitive osm) 1312 1312 { 1313 return !osm.isDeleted() && !osm.isFiltered() && !osm.isIncomplete();1313 return osm.isUsable() && !osm.isFiltered(); 1314 1314 } 1315 1315 … … 1389 1389 for (final Way osm : selectedLast(data, data.searchWays(bbox))) { 1390 1390 if (drawable(osm) && osm.mappaintDrawnCode != paintid) { 1391 if (isPrimitiveArea(osm) && osm.mappaintDrawnAreaCode != paintid) 1391 if (isPrimitiveArea(osm) && osm.mappaintDrawnAreaCode != paintid) { 1392 1392 drawWay(osm, fillAreas); 1393 else1393 } else { 1394 1394 noAreaWays.add(osm); 1395 } 1395 1396 } 1396 1397 }
Note:
See TracChangeset
for help on using the changeset viewer.