Changeset 7447 in josm for trunk/src/org/openstreetmap/josm/data/osm
- Timestamp:
- 2014-08-27T17:40:39+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r7423 r7447 69 69 import org.openstreetmap.josm.gui.mappaint.StyleCache.StyleList; 70 70 import org.openstreetmap.josm.gui.mappaint.TextElement; 71 import org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource; 71 72 import org.openstreetmap.josm.gui.mappaint.mapcss.Selector; 72 73 import org.openstreetmap.josm.tools.CompositeList; … … 1342 1343 @Override 1343 1344 public List<StyleRecord> call() throws Exception { 1344 for (int i = from; i<to; i++) { 1345 OsmPrimitive osm = input.get(i); 1346 if (osm.isDrawable()) { 1347 osm.accept(this); 1348 } 1349 } 1350 return output; 1345 synchronized (MapCSSStyleSource.STYLE_SOURCE_LOCK) { 1346 for (int i = from; i<to; i++) { 1347 OsmPrimitive osm = input.get(i); 1348 if (osm.isDrawable()) { 1349 osm.accept(this); 1350 } 1351 } 1352 return output; 1353 } 1351 1354 } 1352 1355
Note:
See TracChangeset
for help on using the changeset viewer.