Fix some inconsistencies in Profiled Lens Correction gui

This commit is contained in:
heckflosse
2017-09-15 20:11:49 +02:00
parent 952ada554a
commit 818200522a
13 changed files with 2627 additions and 100 deletions

View File

@@ -1083,9 +1083,7 @@ bool check_need_larger_crop_for_lcp_distortion (int fw, int fh, int x, int y, in
return false;
}
return (params.lensProf.useDist &&
(params.lensProf.useLensfun ||
params.lensProf.lcpFile.length() > 0));
return (params.lensProf.useDist && (params.lensProf.useLensfun() || params.lensProf.useLcp()));
}
} // namespace