Mercurial > hg > orthanc-stone
changeset 1026:a416ce923b60
fix for ie11
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 02 Oct 2019 11:50:34 +0200 |
parents | 58eed6bbcabb |
children | dd8ff977aaf2 |
files | Framework/Toolbox/DicomInstanceParameters.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Toolbox/DicomInstanceParameters.cpp Thu Sep 26 09:22:27 2019 +0200 +++ b/Framework/Toolbox/DicomInstanceParameters.cpp Wed Oct 02 11:50:34 2019 +0200 @@ -339,11 +339,11 @@ Orthanc::ImageProcessing::Convert(*converted, pixelData); // Correct rescale slope/intercept if need be - data_.ApplyRescale(*converted, (pixelData.GetFormat() == Orthanc::PixelFormat_Grayscale32)); + //data_.ApplyRescale(*converted, (pixelData.GetFormat() == Orthanc::PixelFormat_Grayscale32)); + data_.ApplyRescale(*converted, false); // Using "true" is incompatible with asm.js on IE11 return converted.release(); } - TextureBaseSceneLayer* DicomInstanceParameters::CreateTexture