Salome HOME
Porting to VTK 6.
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshEditPreview.cxx
index ac71ddbc44e1231fca74c8b0f742ef99ccf5f677..fdf0868ae3fb06b820f73dea6f2300f19f476a88 100644 (file)
@@ -66,7 +66,7 @@ SMESHGUI_MeshEditPreview::SMESHGUI_MeshEditPreview(SVTK_ViewWindow* theViewWindo
 
   // Create and display actor
   vtkDataSetMapper* aMapper = vtkDataSetMapper::New();
-  aMapper->SetInput( myGrid );
+  aMapper->SetInputData( myGrid );
 
   myPreviewActor = SALOME_Actor::New();
   myPreviewActor->SetInfinitive(true);