Merge branch 'dev' into capture_sharpening

This commit is contained in:
Ingo Weyrich
2019-08-18 11:17:15 +02:00
29 changed files with 210 additions and 271 deletions

View File

@@ -4935,9 +4935,7 @@ void RawImageSource::getRawValues(int x, int y, int rotate, int &R, int &G, int
ynew = H - 1 - ynew;
} else if (rotate == 270) {
std::swap(xnew,ynew);
ynew = H - 1 - ynew;
xnew = W - 1 - xnew;
ynew = H - 1 - ynew;
}
xnew = LIM(xnew, 0, W - 1);