changeset 110:7e45d8856495

"--max-size=0" allowed to create a single instance per pyramid level
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Aug 2017 17:43:47 +0200
parents ac1fecfb45ce
children bfc0d433f9dd
files Framework/DicomizerParameters.cpp NEWS
diffstat 2 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/DicomizerParameters.cpp	Thu Aug 24 15:16:34 2017 +0200
+++ b/Framework/DicomizerParameters.cpp	Thu Aug 24 17:43:47 2017 +0200
@@ -138,11 +138,6 @@
 
   void DicomizerParameters::SetDicomMaxFileSize(unsigned int size)
   {
-    if (size <= 1024)
-    {
-      throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange);
-    }
-
     maxDicomFileSize_ = size;
   }
 
--- a/NEWS	Thu Aug 24 15:16:34 2017 +0200
+++ b/NEWS	Thu Aug 24 17:43:47 2017 +0200
@@ -1,6 +1,7 @@
 Pending changes in the mainline
 ===============================
 
+* "--max-size=0" allowed to create a single instance per pyramid level
 * Support for OpenBSD