Changeset 11970 in josm
- Timestamp:
- 2017-04-22T01:54:36+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/ComputeStyleListWorker.java
r11914 r11970 139 139 StyleElementList sl = styles.get(osm, circum, nc); 140 140 for (StyleElement s : sl) { 141 if (drawMultipolygon && drawArea && (s instanceof AreaElement || s instanceof AreaIconElement) 142 && (flags & StyledMapRenderer.FLAG_DISABLED) == 0) { 143 output.add(new StyleRecord(s, osm, flags)); 144 } else if ((drawMultipolygon && drawArea && s instanceof TextElement) || (drawRestriction && s instanceof NodeElement)) { 141 if (drawAreaElement(flags, s) || 142 (drawMultipolygon && drawArea && s instanceof TextElement) || 143 (drawRestriction && s instanceof NodeElement)) { 145 144 output.add(new StyleRecord(s, osm, flags)); 146 145 } 147 146 } 147 } 148 149 private boolean drawAreaElement(int flags, StyleElement s) { 150 return drawMultipolygon && drawArea && (s instanceof AreaElement || s instanceof AreaIconElement) 151 && (flags & StyledMapRenderer.FLAG_DISABLED) == 0; 148 152 } 149 153
Note:
See TracChangeset
for help on using the changeset viewer.