Changeset 13295 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2018-01-07T23:09:33+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java
r13271 r13295 308 308 if (tracker.isErrorID(1)) { 309 309 // the tracker catches OutOfMemory conditions 310 tracker.removeImage(img); 310 311 img = null; 312 } else { 313 tracker.removeImage(img); 311 314 } 312 315 } else { … … 317 320 if (this.entry != ImageDisplay.this.entry) { 318 321 // The file has changed 319 tracker.removeImage(img);320 322 return; 321 323 } … … 337 339 g.drawImage(img, xform, null); 338 340 g.dispose(); 339 tracker.removeImage(img);340 341 img = rot; 341 342 } … … 351 352 errorLoading = (img == null); 352 353 } 353 tracker.removeImage(img);354 354 ImageDisplay.this.repaint(); 355 355 }
Note:
See TracChangeset
for help on using the changeset viewer.