X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageReader.txx;h=9393392bf53770ea99f417ccffe84ee41804dc9d;hb=0d42b6962669e20d31f6f7b566eefb2aecefa050;hp=d0247fe7d072ea11c255dc6be98a3e543b287d08;hpb=ffa30ffca0e90ece637fadde1f3dd65166f20ab4;p=clitk.git diff --git a/vv/vvImageReader.txx b/vv/vvImageReader.txx index d0247fe..9393392 100644 --- a/vv/vvImageReader.txx +++ b/vv/vvImageReader.txx @@ -27,6 +27,7 @@ #include #include "clitkCommon.h" +#include "clitkConfiguration.h" #include "vvFromITK.h" #include "vvConstants.h" @@ -100,9 +101,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 {