From: <hug...@li...> - 2013-01-10 17:55:34
|
branch: details: http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/hgroot/hugin/hugin/rev/1a359b7a7451 changeset: 6087:1a359b7a7451 user: tmodes date: Thu Jan 10 18:55:50 2013 +0100 description: Correctly update Exif information in internal representation after loading diffstat: src/hugin1/hugin/wxPanoCommand.cpp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diffs (27 lines): diff -r e48aff8002a5 -r 1a359b7a7451 src/hugin1/hugin/wxPanoCommand.cpp --- a/src/hugin1/hugin/wxPanoCommand.cpp Wed Jan 09 17:27:05 2013 +0100 +++ b/src/hugin1/hugin/wxPanoCommand.cpp Thu Jan 10 18:55:50 2013 +0100 @@ -233,6 +233,7 @@ srcImg = pano.getSrcImage(i); srcImg.setFilename(filename); srcImg.deleteAllMasks(); + srcImg.readEXIF(focalLength, cropFactor, false, false); // add image int imgNr = pano.addImage(srcImg); variable_groups.update(); @@ -293,6 +294,7 @@ srcImg = pano.getSrcImage(i); srcImg.setFilename(filename); srcImg.deleteAllMasks(); + srcImg.readEXIF(focalLength, cropFactor, false, false); srcImg.setExposureValue(ev); break; } @@ -305,6 +307,7 @@ srcImg = pano.getSrcImage(i); srcImg.setFilename(filename); srcImg.deleteAllMasks(); + srcImg.readEXIF(focalLength, cropFactor, false, false); break; } } |