diff Framework/Loaders/OrthancMultiframeVolumeLoader.cpp @ 1083:f72d1ab42932 broker

integration mainline->broker
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 Oct 2019 13:14:05 +0200
parents e713f1a99861 391fb6d6905d
children 383aa2a7d426
line wrap: on
line diff
--- a/Framework/Loaders/OrthancMultiframeVolumeLoader.cpp	Thu Oct 17 21:25:03 2019 +0200
+++ b/Framework/Loaders/OrthancMultiframeVolumeLoader.cpp	Tue Oct 22 13:14:05 2019 +0200
@@ -112,8 +112,6 @@
     }
   };
 
-
-
   class OrthancMultiframeVolumeLoader::LoadTransferSyntax : public State
   {
   public:
@@ -229,7 +227,7 @@
       geometry.SetAxialGeometry(parameters.GetGeometry());
       geometry.SetVoxelDimensions(parameters.GetPixelSpacingX(),
                                   parameters.GetPixelSpacingY(), spacingZ);
-      volume_->Initialize(geometry, format);
+      volume_->Initialize(geometry, format, true /* Do compute range */);
     }
 
     volume_->GetPixelData().Clear();