X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FPIPELINE%2FVISU_DeformedShapePL.cxx;h=9b200331a11350a366748ed4aa4ae466eb48accf;hb=fb08b636a853be8f70b427c6ba6f745799077185;hp=e125c4f98fd20727ac805137e2c17e11a5797fcc;hpb=1470190682148c950f0c1a941034e9e2b6c10318;p=modules%2Fvisu.git diff --git a/src/PIPELINE/VISU_DeformedShapePL.cxx b/src/PIPELINE/VISU_DeformedShapePL.cxx index e125c4f9..9b200331 100644 --- a/src/PIPELINE/VISU_DeformedShapePL.cxx +++ b/src/PIPELINE/VISU_DeformedShapePL.cxx @@ -41,10 +41,15 @@ vtkStandardNewMacro(VISU_DeformedShapePL); VISU_DeformedShapePL::VISU_DeformedShapePL(){ myWarpVector = vtkWarpVector::New(); + myCellDataToPointData = vtkCellDataToPointData::New(); } VISU_DeformedShapePL::~VISU_DeformedShapePL(){ + myWarpVector->UnRegisterAllOutputs(); myWarpVector->Delete(); + + myCellDataToPointData->UnRegisterAllOutputs(); + myCellDataToPointData->Delete(); } void VISU_DeformedShapePL::ShallowCopy(VISU_PipeLine *thePipeLine){ @@ -92,7 +97,7 @@ void VISU_DeformedShapePL::Init(){ } VISU_ScalarMapPL::THook* VISU_DeformedShapePL::DoHook(){ - VISU::CellDataToPoint(myWarpVector,myInput,myFieldTransform); + VISU::CellDataToPoint(myWarpVector,myCellDataToPointData,myInput,myFieldTransform); return myWarpVector->GetOutput(); }