]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - src/tim/prune/load/JpegLoader.java
Version 20.4, May 2021
[GpsPrune.git] / src / tim / prune / load / JpegLoader.java
index 3e22eba029ccb76ce341a2fffaea6327669a28f1..471226f2919dc15c634454a2ce352e69039b20df 100644 (file)
@@ -256,11 +256,9 @@ public class JpegLoader implements Runnable, Cancellable
                if (timestamp == null) {
                        timestamp = new TimestampUtc(inFile.lastModified());
                }
-               // Apply timestamp to photo and its point (if any)
+               // Apply timestamp to photo (but not its point)
                photo.setTimestamp(timestamp);
-               if (photo.getDataPoint() != null) {
-                       // photo.getDataPoint().setFieldValue(Field.TIMESTAMP, timestamp.getText(Timestamp.Format.ISO8601), false);
-               }
+
                return photo;
        }