- Timestamp:
- 2017-04-10T10:54:30+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/layer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r11875 r11883 1153 1153 // still be in disk cache, so this is fairly cheap. 1154 1154 if (((ReprojectionTile) tile).needsUpdate(Main.map.mapView.getScale())) { 1155 loadTile(tile, true); 1155 ((ReprojectionTile) tile).invalidate(); 1156 loadTile(tile, false); 1156 1157 } 1157 1158 } -
trunk/src/org/openstreetmap/josm/gui/layer/imagery/ReprojectionTile.java
r11882 r11883 66 66 transform(image); 67 67 } 68 } 69 70 /** 71 * Invalidate tile - mark it as not loaded. 72 */ 73 public synchronized void invalidate() { 74 this.loaded = false; 75 this.loading = false; 76 this.error = false; 77 this.error_message = null; 68 78 } 69 79
Note:
See TracChangeset
for help on using the changeset viewer.