darktable-org/darktable — pull request #252 by gebner (2013-06-26 17:40:49+00:00)
Title: lens iop: Automatically set scale.

Currently, when enabling lens correction, scale defaults to 1. This causes black borders with lenses that have pincushion distortion, requiring the user to click the autoscale button.

This patch performs the calculation automatically.