Salome HOME
Porting to VTK 6.
[modules/visu.git] / src / VISUGUI / VisuGUI_EvolutionDlg.cxx
index 983537187de53e1771a5f486d953a3b5c3d796d4..b5f1f6309d8439a838ce3cce0deec8ae681df837 100644 (file)
@@ -263,7 +263,7 @@ void VisuGUI_EvolutionDlg::setVisible( bool theIsVisible )
     VISU::PNamedIDMapper aMapper = aResult->GetInput()->GetMeshOnEntity( myEngine->getMeshName(), myEngine->getEntity() );
 
     vtkDataSetMapper* aPreviewMapper = vtkDataSetMapper::New();
-    aPreviewMapper->SetInput( aMapper->GetOutput() );
+    aPreviewMapper->SetInputData( aMapper->GetOutput() );
   
     vtkProperty* aProperty = vtkProperty::New();
     aProperty->SetColor( 1, 1, 1 );