Porting to VTK 6.

Debug.
This commit is contained in:
ouv 2013-02-01 10:37:27 +00:00
parent 786bd93631
commit 4e2c7bc361
2 changed files with 0 additions and 2 deletions

View 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 );

View 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 );