Merge branch 'dev' into newlocallab
This commit is contained in:
@@ -265,7 +265,6 @@ FrameData::FrameData(rtexif::TagDirectory* frameRootDir_, rtexif::TagDirectory*
|
||||
tag = exif->getTag("SubjectDistance");
|
||||
|
||||
if (tag) {
|
||||
int num, denom;
|
||||
tag->toRational(num, denom);
|
||||
} else {
|
||||
// Second try, XMP data
|
||||
@@ -533,9 +532,8 @@ FrameData::FrameData(rtexif::TagDirectory* frameRootDir_, rtexif::TagDirectory*
|
||||
if (flt->toDouble() > 0) {
|
||||
focal_len = flt->toDouble();
|
||||
}
|
||||
} else if ((flt = mnote->getTagP("FocalLength"))) {
|
||||
rtexif::Tag* flt = mnote->getTag("FocalLength");
|
||||
focal_len = flt->toDouble();
|
||||
} else if ((flt = mnote->getTagP ("FocalLength"))) {
|
||||
focal_len = mnote->getTag("FocalLength")->toDouble ();
|
||||
}
|
||||
|
||||
if (mnote->getTag("FocalLengthIn35mmFilm")) {
|
||||
|
Reference in New Issue
Block a user