]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Additional fix for bug TC6.2.0: SIGSEGV at presentation creation for Iso Surfaces... V6_2_BR RELIQUAT_6x_15112010 V6_2_0 V6_2_0rc1 mergeto_V6_main_23Dec10
authorouv <ouv@opencascade.com>
Fri, 17 Dec 2010 16:39:02 +0000 (16:39 +0000)
committerouv <ouv@opencascade.com>
Fri, 17 Dec 2010 16:39:02 +0000 (16:39 +0000)
src/VISU_I/VISU_CutLinesBase_i.cc

index 6f1ca95b108e54a62981ab20f351849bf7d25d8e..81fa2d4350bf04fa125e1d1280621f12f534d54e 100644 (file)
@@ -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();