Fix a bug I introduced some commits ago. Fixes #3476

This commit is contained in:
heckflosse
2016-10-22 18:29:53 +02:00
parent 968f2b06ca
commit fca99676b6
2 changed files with 2 additions and 2 deletions

View File

@@ -683,7 +683,7 @@ void Crop::update (int todo)
transCrop = new Imagefloat (cropw, croph);
}
if ((todo & M_TRANSFORM) && needstransform)
if (needstransform)
parent->ipf.transform (baseCrop, transCrop, cropx / skip, cropy / skip, trafx / skip, trafy / skip, SKIPS(parent->fw, skip), SKIPS(parent->fh, skip), parent->getFullWidth(), parent->getFullHeight(),
parent->imgsrc->getMetaData()->getFocalLen(), parent->imgsrc->getMetaData()->getFocalLen35mm(),
parent->imgsrc->getMetaData()->getFocusDist(), parent->imgsrc->getRotateDegree(), false);