From 61121cada3b8cead74aed4cbed1a39c6cb5eb715 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Mon, 22 Feb 2016 22:40:39 +0100 Subject: [PATCH] Fix Sony LensID issue --- rtengine/imagedata.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/imagedata.cc b/rtengine/imagedata.cc index 93c6b6604..fd7ed7c6e 100644 --- a/rtengine/imagedata.cc +++ b/rtengine/imagedata.cc @@ -276,7 +276,7 @@ void ImageData::extractInfo () } } - else if (root->findTag("MakerNote")) { + if (lens == "Unknown" && root->findTag("MakerNote")) { rtexif::TagDirectory* mnote = root->findTag("MakerNote")->getDirectory(); if (mnote && !make.compare (0, 5, "NIKON")) {