X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageReader.txx;h=9393392bf53770ea99f417ccffe84ee41804dc9d;hb=0d42b6962669e20d31f6f7b566eefb2aecefa050;hp=fd1c5755c6670b805c6da83f650768d732f0fab2;hpb=3451be2e38ff6603113fb95f7498e127707de370;p=clitk.git diff --git a/vv/vvImageReader.txx b/vv/vvImageReader.txx index fd1c575..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" @@ -101,7 +102,7 @@ void vvImageReader::UpdateWithDimAndInputPixelType() << " " << err << std::endl; } vtkImageData *image = vtkImageData::New(); - image->DeepCopy(connector->GetOutput()); + image->ShallowCopy(connector->GetOutput()); mImage->AddImage(image); } } else {