// Create and display actor
myMapper = vtkDataSetMapper::New();
- myMapper->SetInput(myPlaneSource->GetOutput());
+ myMapper->SetInputConnection(myPlaneSource->GetOutputPort());
myActor = SALOME_Actor::New();
myActor->VisibilityOff();
VISU_PipeLine* aPL = myPrs3d->GetPipeLine();
vtkMapper* aMapper = aPL->GetMapper();
vtkDataSet* aPrsData = aMapper->GetInput();
- aPrsData->Update();
+ aMapper->Update();
if (aPrsData->GetNumberOfCells() < 1) {
isFailed = true;
}