more work on synchronizing metadata with xmp sidecars

(cherry picked from commit 81bbff6e6ae87bd35e8050a1cc621297ca24939b)
This commit is contained in:
Alberto Griggio
2019-05-14 07:03:07 -07:00
committed by Lawrence Lee
parent caa23df465
commit 1a771fa211
18 changed files with 611 additions and 173 deletions

View File

@@ -25,6 +25,7 @@
#include "options.h"
#include "../rtengine/imagedata.h"
#include "../rtengine/metadata.h"
#include "../rtengine/procparams.h"
using namespace rtengine;
@@ -225,9 +226,9 @@ void ExifPanel::refreshTags()
}
try {
auto img = open_exiv2(fn);
img->readMetadata();
auto& exif = img->exifData();
rtengine::Exiv2Metadata meta(fn);
meta.load();
auto& exif = meta.exifData();
for (const auto& p : *changeList) {
try {