mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-29 07:00:33 +05:00
Porting to VTK 6.
Debug.
This commit is contained in:
parent
786bd93631
commit
4e2c7bc361
@ -1281,7 +1281,6 @@ vtkUnstructuredGrid* SMESH_ActorDef::GetUnstructuredGrid(){
|
|||||||
|
|
||||||
bool SMESH_ActorDef::IsInfinitive(){
|
bool SMESH_ActorDef::IsInfinitive(){
|
||||||
vtkDataSet *aDataSet = myPickableActor->GetUnstructuredGrid();
|
vtkDataSet *aDataSet = myPickableActor->GetUnstructuredGrid();
|
||||||
//aDataSet->Update(); // OUV_PORTING_VTK6: seems to be useless
|
|
||||||
myIsInfinite = aDataSet->GetNumberOfCells() == 0 ||
|
myIsInfinite = aDataSet->GetNumberOfCells() == 0 ||
|
||||||
( aDataSet->GetNumberOfCells() == 1 &&
|
( aDataSet->GetNumberOfCells() == 1 &&
|
||||||
aDataSet->GetCell(0)->GetCellType() == VTK_VERTEX );
|
aDataSet->GetCell(0)->GetCellType() == VTK_VERTEX );
|
||||||
|
@ -250,7 +250,6 @@ SMESH_DeviceActor
|
|||||||
myPassFilter[ anId + 1 ]->SetInputConnection( myPassFilter[ anId ]->GetOutputPort() );
|
myPassFilter[ anId + 1 ]->SetInputConnection( myPassFilter[ anId ]->GetOutputPort() );
|
||||||
|
|
||||||
anId++; // 5
|
anId++; // 5
|
||||||
// OUV_PORTING_VTK6: to check
|
|
||||||
myMapper->SetInputConnection( myPassFilter[ anId ]->GetOutputPort() );
|
myMapper->SetInputConnection( myPassFilter[ anId ]->GetOutputPort() );
|
||||||
|
|
||||||
vtkLODActor::SetMapper( myMapper );
|
vtkLODActor::SetMapper( myMapper );
|
||||||
|
Loading…
Reference in New Issue
Block a user