Salome HOME
Porting to VTK 6.
authorouv <ouv@opencascade.com>
Fri, 1 Feb 2013 10:37:27 +0000 (10:37 +0000)
committerouv <ouv@opencascade.com>
Fri, 1 Feb 2013 10:37:27 +0000 (10:37 +0000)
Debug.

src/OBJECT/SMESH_Actor.cxx
src/OBJECT/SMESH_DeviceActor.cxx

index 5b4d9b3758fa3f0609ee28d8079800dc8ac4f1f1..16cd3666aa221569514647156e646f8f7eff05ba 100644 (file)
@@ -1281,7 +1281,6 @@ vtkUnstructuredGrid* SMESH_ActorDef::GetUnstructuredGrid(){
 
 bool SMESH_ActorDef::IsInfinitive(){
   vtkDataSet *aDataSet = myPickableActor->GetUnstructuredGrid();
-  //aDataSet->Update(); // OUV_PORTING_VTK6: seems to be useless
   myIsInfinite = aDataSet->GetNumberOfCells() == 0 ||
     ( aDataSet->GetNumberOfCells() == 1 && 
     aDataSet->GetCell(0)->GetCellType() == VTK_VERTEX );
index e04be9967a4cd699271e3130e247331a4a25e0d0..dc878600a5489ec96672c7eb2892ba0496210e33 100644 (file)
@@ -250,7 +250,6 @@ SMESH_DeviceActor
     myPassFilter[ anId + 1 ]->SetInputConnection( myPassFilter[ anId ]->GetOutputPort() );
 
     anId++; // 5
-    // OUV_PORTING_VTK6: to check
     myMapper->SetInputConnection( myPassFilter[ anId ]->GetOutputPort() );
 
     vtkLODActor::SetMapper( myMapper );