diff Framework/Radiography/RadiographyLayer.cpp @ 1112:d33ae2b0db9d

less logs + allow changing the size of the RadiographyLayer (to replace a low res image by a high res image)
author Alain Mazy <alain@mazy.be>
date Mon, 04 Nov 2019 12:46:53 +0100
parents be9c1530d40a
children 383aa2a7d426 35e798b16b65
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyLayer.cpp	Wed Oct 23 16:10:35 2019 +0200
+++ b/Framework/Radiography/RadiographyLayer.cpp	Mon Nov 04 12:46:53 2019 +0100
@@ -225,13 +225,6 @@
   void RadiographyLayer::SetSize(unsigned int width,
                                  unsigned int height)
   {
-    if (hasSize_ &&
-        (width != width_ ||
-         height != height_))
-    {
-      throw Orthanc::OrthancException(Orthanc::ErrorCode_IncompatibleImageSize);
-    }
-
     hasSize_ = true;
     width_ = width;
     height_ = height;