added support for CA correction via lensfun
Performance could be improved (see the comments marked "agriggio" in iptransform.cc and rtlensfun.cc)
This commit is contained in:
@@ -254,6 +254,16 @@ void LensProfilePanel::updateLensfunWarning()
|
||||
}
|
||||
ckbUseVign->set_sensitive(l.hasVignettingCorrection());
|
||||
ckbUseDist->set_sensitive(l.hasDistortionCorrection());
|
||||
ckbUseCA->set_sensitive(l.hasCACorrection());
|
||||
if (!isRaw || !l.hasVignettingCorrection()) {
|
||||
ckbUseVign->set_active(false);
|
||||
}
|
||||
if (!l.hasDistortionCorrection()) {
|
||||
ckbUseDist->set_active(false);
|
||||
}
|
||||
if (!l.hasCACorrection()) {
|
||||
ckbUseCA->set_active(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user