X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=common%2FclitkDicomRT_ROI.cxx;h=0219b4aea9763c32cf05891630a2162fad38c2ef;hb=b1f5d6c99d0263700df2ddb2c6d1bf348709cd92;hp=48099e0dfa2eee6c924b7cf91d5ad719c1bfb7a5;hpb=c93a32f96e61514b8b945d515ffcf11c2a12ae66;p=clitk.git diff --git a/common/clitkDicomRT_ROI.cxx b/common/clitkDicomRT_ROI.cxx index 48099e0..0219b4a 100644 --- a/common/clitkDicomRT_ROI.cxx +++ b/common/clitkDicomRT_ROI.cxx @@ -200,7 +200,9 @@ void clitk::DicomRT_ROI::ComputeMesh() append->AddInput(mListOfContours[i]->GetMesh()); } append->Update(); - mMesh = append->GetOutput(); + + mMesh = vtkSmartPointer::New(); + mMesh->DeepCopy(append->GetOutput()); mMeshIsUpToDate = true; } //--------------------------------------------------------------------