Commit d570ab8e authored by Jens Georg's avatar Jens Georg

Export modified GPS meta-data

parent d7a39619
Pipeline #76915 passed with stage
in 21 minutes and 11 seconds
......@@ -5385,6 +5385,10 @@ public class LibraryPhoto : Photo, Flaggable, Monitorable {
if (get_rating() != metadata.get_rating())
return true;
var old_coords = metadata.get_gps_coords();
if (!get_gps_coords().equals(ref old_coords))
return true;
Gee.Set<string>? keywords = metadata.get_keywords();
int tags_count = (tags != null) ? tags.size : 0;
......@@ -5415,6 +5419,7 @@ public class LibraryPhoto : Photo, Flaggable, Monitorable {
metadata.set_keywords(null);
metadata.set_rating(get_rating());
metadata.set_gps_coords(get_gps_coords());
}
protected override void apply_user_metadata_for_reimport(PhotoMetadata metadata) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment