]> Creatis software - clitk.git/commitdiff
apparently this was too ambitious as well :-/
authorschaerer <schaerer>
Wed, 4 Aug 2010 16:38:00 +0000 (16:38 +0000)
committerschaerer <schaerer>
Wed, 4 Aug 2010 16:38:00 +0000 (16:38 +0000)
vv/vvImageReader.txx

index d0247fe7d072ea11c255dc6be98a3e543b287d08..af11299b9e4497f0a715636ae864b866745992ce 100644 (file)
@@ -100,9 +100,8 @@ void vvImageReader::UpdateWithDimAndInputPixelType()
         std::cerr << "Error while setting vvImage from ITK (MERGEDWITHTIME)"
                   << " " << err << std::endl;
       }
-      //vtkImageData *image = vtkImageData::New();
-      //image->ShallowCopy(connector->GetOutput());
-      vtkImageData *image = connector->GetOutput();
+      vtkImageData *image = vtkImageData::New();
+      image->ShallowCopy(connector->GetOutput());
       mImage->AddImage(image);
     }
   } else {