From 5165f023e39249b902a06db05513c6b67d751cf9 Mon Sep 17 00:00:00 2001 From: srit Date: Mon, 30 Aug 2010 13:41:53 +0000 Subject: [PATCH] Rolled back to version 1.7 because it was crashing with transforms. I couldn't figure out a better solution. --- common/vvFromITK.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.1