Ignore:
Timestamp:
2010-07-12T16:53:14+02:00 (15 years ago)
Author:
stoecker
Message:

better handling of grey tiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSGrabber.java

    r20891 r22286  
    155155
    156156    @Override
    157         public boolean loadFromCache(){
     157        public boolean loadFromCache(boolean real){
    158158        URL url = null;
    159159        try{
     
    166166        }
    167167        BufferedImage cached = cache.getImg(url.toString());
    168         if(!layer.hasAutoDownload() || cached != null){
     168        if((!real && !layer.hasAutoDownload()) || cached != null){
    169169           image.min = b.min;
    170170           image.max = b.max;
Note: See TracChangeset for help on using the changeset viewer.