From: srit Date: Mon, 30 Aug 2010 13:41:53 +0000 (+0000) Subject: Rolled back to version 1.7 because it was crashing with transforms. I couldn't figure... X-Git-Tag: v1.2.0~423 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=sidebyside;h=5165f023e39249b902a06db05513c6b67d751cf9;hp=f8cc31607ad9c651c45fadec63a9e181d2dc351d;p=clitk.git Rolled back to version 1.7 because it was crashing with transforms. I couldn't figure out a better solution. --- diff --git a/common/vvFromITK.h b/common/vvFromITK.h index fb1e882..8187051 100644 --- a/common/vvFromITK.h +++ b/common/vvFromITK.h @@ -80,7 +80,7 @@ template vvImage::Pointer vvImageFromITK(type return vv_image; } vtkImageData *image = vtkImageData::New(); - image->ShallowCopy(connector->GetOutput()); + image->DeepCopy(connector->GetOutput()); vv_image->AddImage(image); } vv_image->SetTimeSpacing(input->GetSpacing()[Dim-1]); @@ -102,7 +102,7 @@ template vvImage::Pointer vvImageFromITK(type return vv_image; } vtkImageData *image = vtkImageData::New(); - image->ShallowCopy(connector->GetOutput()); + image->DeepCopy(connector->GetOutput()); vv_image->AddImage(image); } return vv_image;