X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImage.cxx;h=4675cf5b661453428bd561d81bbc623c75be092c;hb=b1afe238d2f4c78245e1824afd251e08b5216311;hp=821de16ebb35c34067b2488ba93be5161ba9599f;hpb=4c78eb9adeaad50d0885769f21fecdfd4804f0c0;p=clitk.git diff --git a/common/vvImage.cxx b/common/vvImage.cxx index 821de16..4675cf5 100644 --- a/common/vvImage.cxx +++ b/common/vvImage.cxx @@ -296,7 +296,7 @@ void vvImage::UpdateReslice() //-------------------------------------------------------------------- vtkImageData * CopyAndCastToFloatFrom(vtkImageData * input) { - vtkSmartPointer p = vtkSmartPointer::New(); + vtkImageData * p = vtkImageData::New(); p->SetExtent(input->GetExtent ()); // Only first ! could not be 4D p->SetScalarTypeToFloat(); p->AllocateScalars();