Solving issue 451: "Preview not sharpened after enlarging to 100%"

This commit is contained in:
natureh
2012-07-21 21:01:13 +02:00
parent 98615e7f65
commit 1cb6e1804e

View File

@@ -63,9 +63,6 @@ void Crop::update (int todo) {
ProcParams& params = parent->params;
parent->ipf.setScale (skip);
// give possibility to the listener to modify crop window (as the full image dimensions are already known at this point)
int wx, wy, ww, wh, ws;
bool overrideWindow = false;
@@ -82,6 +79,9 @@ void Crop::update (int todo) {
if (needsinitupdate || (todo & M_HIGHQUAL))
todo = ALL;
// set improcfuncions' scale now that skip has been updated
parent->ipf.setScale (skip);
baseCrop = origCrop;
bool needstransform = parent->ipf.needsTransform();