diff --git a/libs/img/src/CImage.cpp b/libs/img/src/CImage.cpp index 1dc32ab586..0251307211 100644 --- a/libs/img/src/CImage.cpp +++ b/libs/img/src/CImage.cpp @@ -1809,6 +1809,7 @@ void CImage::rotateImage( rotCode = cv::ROTATE_180; cv::rotate(srcImg, out_img.m_impl->img, rotCode); + return; } // else: general rotation: