diff --git a/rtengine/iptransform.cc b/rtengine/iptransform.cc index 5b48b2a50..eed827aef 100644 --- a/rtengine/iptransform.cc +++ b/rtengine/iptransform.cc @@ -473,7 +473,6 @@ bool ImProcFunctions::transCoord (int W, int H, const std::vector &src, * (maxRadius / sqrt(18.0*18.0 + 12.0*12.0)); const double f_defish = ((params->distortion.focal_length > 0) ? params->distortion.focal_length : DistortionParams::DEFAULT_FOCAL_LENGTH) - * ((params->perspective.camera_crop_factor > 0) ? params->perspective.camera_crop_factor : PerspectiveParams::DEFAULT_CAMERA_CROP_FACTOR) * (maxRadius / sqrt(18.0*18.0 + 12.0*12.0)); const double p_camera_yaw = params->perspective.camera_yaw / 180.0 * rtengine::RT_PI; const double p_camera_pitch = params->perspective.camera_pitch / 180.0 * rtengine::RT_PI; @@ -1177,7 +1176,6 @@ void ImProcFunctions::transformGeneral(bool highQuality, Imagefloat *original, I * (maxRadius / sqrt(18.0*18.0 + 12.0*12.0)); const double f_defish = ((params->distortion.focal_length > 0) ? params->distortion.focal_length : DistortionParams::DEFAULT_FOCAL_LENGTH) - * ((params->perspective.camera_crop_factor > 0) ? params->perspective.camera_crop_factor : PerspectiveParams::DEFAULT_CAMERA_CROP_FACTOR) * (maxRadius / sqrt(18.0*18.0 + 12.0*12.0)); const double p_camera_yaw = params->perspective.camera_yaw / 180.0 * rtengine::RT_PI; const double p_camera_pitch = params->perspective.camera_pitch / 180.0 * rtengine::RT_PI;