From: schaerer Date: Wed, 4 Aug 2010 16:38:00 +0000 (+0000) Subject: apparently this was too ambitious as well :-/ X-Git-Tag: v1.2.0~441 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=a4c7c3e6b24a06bfe248f935411e0136184faf97;p=clitk.git apparently this was too ambitious as well :-/ --- diff --git a/vv/vvImageReader.txx b/vv/vvImageReader.txx index d0247fe..af11299 100644 --- a/vv/vvImageReader.txx +++ b/vv/vvImageReader.txx @@ -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 {