From: ouv Date: Fri, 17 Dec 2010 16:39:02 +0000 (+0000) Subject: Additional fix for bug TC6.2.0: SIGSEGV at presentation creation for Iso Surfaces... X-Git-Tag: RELIQUAT_6x_15112010 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=301d3a0ce758b51b212e7de117750766a5ff432a;p=modules%2Fvisu.git Additional fix for bug TC6.2.0: SIGSEGV at presentation creation for Iso Surfaces, Deformed Shape, Stream Lines, Deformed Shape and Scalar Map --- diff --git a/src/VISU_I/VISU_CutLinesBase_i.cc b/src/VISU_I/VISU_CutLinesBase_i.cc index 6f1ca95b..81fa2d43 100644 --- a/src/VISU_I/VISU_CutLinesBase_i.cc +++ b/src/VISU_I/VISU_CutLinesBase_i.cc @@ -322,9 +322,9 @@ VISU::CutLinesBase_i if(!aNbPoints) continue; vtkPointData *aPointData = aDataSet->GetPointData(); vtkDataArray *aScalars = aPointData->GetScalars(); - vtkCellDataToPointData *aFilter = NULL; + VISU_CellDataToPointData *aFilter = NULL; if(!aScalars) { - aFilter = vtkCellDataToPointData::New(); + aFilter = VISU_CellDataToPointData::New(); aFilter->SetInput(aDataSet); aFilter->PassCellDataOn(); aDataSet = aFilter->GetOutput();