fixed regression in ImProcFunctions::transformGeneral introduced by recent refactorings

This commit is contained in:
Alberto Griggio
2017-10-31 10:49:40 +01:00
parent 770479f643
commit 2006a1755b

View File

@@ -751,9 +751,7 @@ void ImProcFunctions::transformGeneral(bool highQuality, Imagefloat *original, I
double h2 = (double) oH / 2.0 - 0.5;
double vig_w2, vig_h2, maxRadius, v, b, mul;
if (enableVignetting) {
calcVignettingParams (oW, oH, params->vignetting, vig_w2, vig_h2, maxRadius, v, b, mul);
}
calcVignettingParams (oW, oH, params->vignetting, vig_w2, vig_h2, maxRadius, v, b, mul);
struct grad_params gp;