Changeset 36342 in osm for applications/editors/josm/plugins/photoadjust/src/org
- Timestamp:
- 2024-09-19T20:33:13+02:00 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustMapMode.java
r35592 r36342 242 242 private static List<GeoImageLayer> getVisibleGeoImageLayers() { 243 243 List<GeoImageLayer> all = new ArrayList<>(MainApplication.getLayerManager().getLayersOfType(GeoImageLayer.class)); 244 Iterator<GeoImageLayer> it = all.iterator(); 245 while (it.hasNext()) { 246 if (!it.next().isVisible()) it.remove(); 247 } 244 all.removeIf(geoImageLayer -> !geoImageLayer.isVisible()); 248 245 return all; 249 246 }
Note:
See TracChangeset
for help on using the changeset viewer.