From 4d81812d137213a6b71bed64aa5aa57601960246 Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Fri, 17 Nov 2017 23:38:27 +0100 Subject: [PATCH] LCP: applied fix by @kznsq for LCP files with attributes in a "PerspectiveModel" tag (issue #4137) --- rtengine/lcp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtengine/lcp.cc b/rtengine/lcp.cc index 834fc65c3..15e68d9f1 100644 --- a/rtengine/lcp.cc +++ b/rtengine/lcp.cc @@ -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; }