From: vtn Date: Mon, 4 Mar 2013 10:55:37 +0000 (+0000) Subject: Porting to Paraview 3.98.1 X-Git-Tag: V7_1_0b1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f518b3d7ebd90c8a2b7166a229e735ebc08f762e;p=modules%2Fhexablock.git Porting to Paraview 3.98.1 --- diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI_VtkDocumentGraphicView.cxx b/src/HEXABLOCKGUI/HEXABLOCKGUI_VtkDocumentGraphicView.cxx index ee975d0..5f0d860 100755 --- a/src/HEXABLOCKGUI/HEXABLOCKGUI_VtkDocumentGraphicView.cxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI_VtkDocumentGraphicView.cxx @@ -111,7 +111,7 @@ Document_Actor::Document_Actor( Document* doc, const QString& entry ): vtkUnstructuredGrid* aGrid = getUnstructuredGrid(); // std::cout << "Document_Actor aGrid->GetNumberOfCells() =>"<< aGrid->GetNumberOfCells(); vtkDataSetMapper* aMapper = vtkDataSetMapper::New(); - aMapper->SetInput(aGrid); + aMapper->SetInputData(aGrid); aGrid->Delete(); SetVisibility( true );//VisibilityOff(); @@ -306,7 +306,7 @@ Associate_Actor::Associate_Actor( Document* doc, const QString& entry) vtkUnstructuredGrid* aGrid = getUnstructuredGrid(); vtkDataSetMapper* aMapper = vtkDataSetMapper::New(); - aMapper->SetInput(aGrid); + aMapper->SetInputData(aGrid); aGrid->Delete(); SetVisibility( true );//VisibilityOff();