Changeset 30967 in osm
- Timestamp:
- 2015-02-10T22:59:09+01:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/photo_geotagging
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photo_geotagging/build.xml
r30962 r30967 3 3 4 4 <!-- enter the SVN commit message --> 5 <property name="commit.message" value=" write elevation to EXIF (see josm #7710)"/>5 <property name="commit.message" value=""/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value=" 7001"/>7 <property name="plugin.main.version" value="8041"/> 8 8 9 9 <property name="plugin.author" value="Paul Hartmann"/> -
applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/GeotaggingAction.java
r30887 r30967 68 68 /* Only write lat/lon to the file, if the position is known and 69 69 the GPS data changed. */ 70 if (e.getPos() != null && (e.hasNewGpsData() || e.hasGpsTime())) {70 if (e.getPos() != null && e.hasNewGpsData()) { 71 71 images.add(e); 72 72 } … … 238 238 239 239 cleanupFiles(); 240 e.unflagNewGpsData(); 240 241 241 242 } catch (final IOException ioe) { … … 391 392 private boolean enabled(GeoImageLayer layer) { 392 393 for (ImageEntry e : layer.getImages()) { 393 if (e.getPos() != null && (e.hasNewGpsData() || e.hasGpsTime()))394 if (e.getPos() != null && e.hasNewGpsData()) 394 395 return true; 395 396 }
Note:
See TracChangeset
for help on using the changeset viewer.