LCP: applied fix by @kznsq for LCP files with attributes in a "PerspectiveModel" tag (issue #4137)

This commit is contained in:
Alberto Griggio
2017-11-17 23:38:27 +01:00
parent 071e19bfd9
commit 4d81812d13

View File

@@ -797,12 +797,12 @@ void XMLCALL rtengine::LCPProfile::XmlStartHandler(void* pLCPProfile, const char
if (src_str == "PerspectiveModel") {
pProf->firstLIDone = true;
pProf->inPerspect = true;
return;
parseAttr = true;
} else if (src_str == "FisheyeModel") {
pProf->firstLIDone = true;
pProf->inPerspect = true;
pProf->isFisheye = true; // just misses third param, and different path, rest is the same
return;
parseAttr = true;
} else if (src_str == "Description") {
parseAttr = true;
}