X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRT_ROI.cxx;fp=common%2FclitkDicomRT_ROI.cxx;h=48099e0dfa2eee6c924b7cf91d5ad719c1bfb7a5;hb=c93a32f96e61514b8b945d515ffcf11c2a12ae66;hp=6096ddc761f05643fbe3e5e9c5b007da4af88ef4;hpb=ff1d5b8af965e75ecdbc1b0cbff0dad6f3b3c511;p=clitk.git diff --git a/common/clitkDicomRT_ROI.cxx b/common/clitkDicomRT_ROI.cxx index 6096ddc..48099e0 100644 --- a/common/clitkDicomRT_ROI.cxx +++ b/common/clitkDicomRT_ROI.cxx @@ -195,7 +195,7 @@ clitk::DicomRT_Contour * clitk::DicomRT_ROI::GetContour(int n) //-------------------------------------------------------------------- void clitk::DicomRT_ROI::ComputeMesh() { - vtkAppendPolyData * append = vtkAppendPolyData::New(); + vtkSmartPointer append = vtkSmartPointer::New(); for(unsigned int i=0; iAddInput(mListOfContours[i]->GetMesh()); }