Mercurial > hg > orthanc
changeset 4447:8421b3fc02d7
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 13 Jan 2021 17:17:50 +0100 |
parents | 19e8540064d8 |
children | 581d87e25536 |
files | OrthancFramework/Sources/Images/ImageProcessing.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Images/ImageProcessing.cpp Wed Jan 13 17:13:42 2021 +0100 +++ b/OrthancFramework/Sources/Images/ImageProcessing.cpp Wed Jan 13 17:17:50 2021 +0100 @@ -1087,7 +1087,7 @@ 7152 * static_cast<uint16_t>(green) + 0722 * static_cast<uint16_t>(blue)) / 10000; Orthanc::ImageProcessing::Set(image, grayscale); - break; + return; } case PixelFormat_RGBA32: