From 4e2c7bc36121a988bdfb4b2ef89d8f7494ddf31e Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 1 Feb 2013 10:37:27 +0000 Subject: [PATCH] Porting to VTK 6. Debug. --- src/OBJECT/SMESH_Actor.cxx | 1 - src/OBJECT/SMESH_DeviceActor.cxx | 1 - 2 files changed, 2 deletions(-) diff --git a/src/OBJECT/SMESH_Actor.cxx b/src/OBJECT/SMESH_Actor.cxx index 5b4d9b375..16cd3666a 100644 --- a/src/OBJECT/SMESH_Actor.cxx +++ b/src/OBJECT/SMESH_Actor.cxx @@ -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 ); diff --git a/src/OBJECT/SMESH_DeviceActor.cxx b/src/OBJECT/SMESH_DeviceActor.cxx index e04be9967..dc878600a 100644 --- a/src/OBJECT/SMESH_DeviceActor.cxx +++ b/src/OBJECT/SMESH_DeviceActor.cxx @@ -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 ); -- 2.39.2