Changeset 32329 in osm for applications/editors/josm/plugins/photoadjust
- Timestamp:
- 2016-06-19T16:08:56+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/photoadjust
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photoadjust/build.xml
r32015 r32329 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value=" 9416"/>7 <property name="plugin.main.version" value="10279"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustMapMode.java
r31962 r32329 133 133 // GeoImageLayer. GeoImageLayer's are handled by the plug-in 134 134 // directly. 135 if (! (Main. map.mapView.getActiveLayer() instanceof GeoImageLayer)) {135 if (! (Main.getLayerManager().getActiveLayer() instanceof GeoImageLayer)) { 136 136 activateMode(); 137 137 } … … 208 208 private boolean hasLayersToAdjust() { 209 209 if (Main.map == null || Main.map.mapView == null) return false; 210 return ! Main. map.mapView.getLayersOfType(GeoImageLayer.class).isEmpty();210 return ! Main.getLayerManager().getLayersOfType(GeoImageLayer.class).isEmpty(); 211 211 } 212 212 … … 217 217 */ 218 218 private List<GeoImageLayer> getVisibleGeoImageLayers() { 219 List<GeoImageLayer> all = new ArrayList<>(Main. map.mapView.getLayersOfType(GeoImageLayer.class));219 List<GeoImageLayer> all = new ArrayList<>(Main.getLayerManager().getLayersOfType(GeoImageLayer.class)); 220 220 Iterator<GeoImageLayer> it = all.iterator(); 221 221 while (it.hasNext()) {
Note:
See TracChangeset
for help on using the changeset viewer.