Make ImProcFunctions::needsTransform more readable

This commit is contained in:
Alexander Brock
2023-03-04 00:04:23 +01:00
parent 8b51d8297f
commit e38a36ed9d

View File

@@ -1546,7 +1546,15 @@ bool ImProcFunctions::needsTransform (int oW, int oH, int rawRotationDeg, const
std::unique_ptr<const LensCorrection> pLCPMap = LFDatabase::getInstance()->findModifier(params->lensProf, metadata, oW, oH, params->coarse, rawRotationDeg);
needsLf = pLCPMap.get();
}
return needsCA () || needsDistortion () || needsRotation () || needsPerspective () || needsGradient () || needsPCVignetting () || needsVignetting () || needsLCP() || needsLf;
return needsCA () ||
needsDistortion () ||
needsRotation () ||
needsPerspective () ||
needsGradient () ||
needsPCVignetting () ||
needsVignetting () ||
needsLCP() ||
needsLf;
}