Changeset 7784 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2014-12-10T22:19:51+01:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/layer/geoimage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java
r7764 r7784 401 401 402 402 setName(l.getName()); 403 thumbsLoaded &= l.thumbsLoaded; 403 404 } 404 405 -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ThumbsLoader.java
r7005 r7784 41 41 if (stop) return; 42 42 43 data.get(i).thumbnail = loadThumb(data.get(i)); 43 // Do not load thumbnails that were loaded before. 44 if (data.get(i).thumbnail == null) { 45 data.get(i).thumbnail = loadThumb(data.get(i)); 44 46 45 if (Main.isDisplayingMapView()) { 46 layer.updateOffscreenBuffer = true; 47 Main.map.mapView.repaint(); 47 if (Main.isDisplayingMapView()) { 48 layer.updateOffscreenBuffer = true; 49 Main.map.mapView.repaint(); 50 } 48 51 } 49 52 }
Note:
See TracChangeset
for help on using the changeset viewer.