Commit 70cf9bea authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

Apply patch #76255 from Roman I Khimov to don't pass crop factor as scale factor to lensfun.

Sixth parameter to Initialize() is actually a scale factor which has nothing
in common with crop factor. I think it's safe to assume that we want no
scaling from lensfun and thus use the value of one.

BUGS: 312765
FIXED-IN: 3.0.0
CCBUGS: 312764
CCBUGS: 253941
CCBUGS: 266204
CCBUGS: 267613
CCBUGS: 281783
CCBUGS: 284708
parent 613d0041
...@@ -142,7 +142,7 @@ void LensFunFilter::filterImage() ...@@ -142,7 +142,7 @@ void LensFunFilter::filterImage()
d->iface->settings().focalLength, d->iface->settings().focalLength,
d->iface->settings().aperture, d->iface->settings().aperture,
d->iface->settings().subjectDistance, d->iface->settings().subjectDistance,
d->iface->settings().cropFactor, 1.0, /* no scaling */
modifyFlags, modifyFlags,
0/*no inverse*/); 0/*no inverse*/);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment