Disable LCP CA correction if LCP distortion is enabled
This was the old behaviour before lensfun integration. In order to enable both CA and distortion correction from the LCP, more work is needed. (temporary) fix for #4159
This commit is contained in:
@@ -817,7 +817,8 @@ private:
|
||||
trImg = baseImg;
|
||||
} else {
|
||||
trImg = new Imagefloat (fw, fh);
|
||||
} ipf.transform (baseImg, trImg, 0, 0, 0, 0, fw, fh, fw, fh,
|
||||
}
|
||||
ipf.transform (baseImg, trImg, 0, 0, 0, 0, fw, fh, fw, fh,
|
||||
imgsrc->getMetaData(), imgsrc->getRotateDegree(), true);
|
||||
if(trImg != baseImg) {
|
||||
delete baseImg;
|
||||
|
Reference in New Issue
Block a user