Changeset 4014 in josm for trunk


Ignore:
Timestamp:
2011-04-06T14:08:03+02:00 (14 years ago)
Author:
Upliner
Message:

fix #6177 NPE when using sharpen with Yahoo imagery

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/GeorefImage.java

    r3808 r4014  
    9595        }
    9696        default:
    97             this.image = layer.sharpenImage(this.image);
     97            if (this.image != null) {
     98                this.image = layer.sharpenImage(this.image);
     99            }
    98100            break;
    99101        }
Note: See TracChangeset for help on using the changeset viewer.