made lensfun-based correction compatible with auto fill mode

This commit is contained in:
Alberto Griggio
2017-09-10 22:02:43 +02:00
parent 489b641c8b
commit e4ba4d19f5
7 changed files with 2 additions and 35 deletions

View File

@@ -72,6 +72,8 @@ void LFModifier::correctDistortion(double &x, double &y, int cx, int cy, double
x -= cx;
y -= cy;
}
x *= scale;
y *= scale;
}