X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FParaMEDCorba%2FVTKParaMEDFieldClient.cxx;h=4aea094ea382aad3259bf8945ce85277cd90d285;hb=e2c075bb656e4e5b0d8e6fcb7e06b5c25f903dee;hp=dd58e36f620d264fc5dba1da1fc426442d42d4ee;hpb=89c33033151baa33eeac8fb09d9c0488acb43c35;p=modules%2Fparavis.git diff --git a/src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx b/src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx index dd58e36f..4aea094e 100644 --- a/src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx +++ b/src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2010-2012 CEA/DEN, EDF R&D +// Copyright (C) 2010-2013 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -39,11 +39,11 @@ std::vector ParaMEDMEM2VTK::FillMEDCouplingParaFieldDoubleInstanceFrom(S SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_var fieldCorba=SALOME_MED::MEDCouplingFieldDoubleCorbaInterface::_narrow(obj); std::vector times; vtkDataSet *part=ParaMEDMEM2VTK::BuildFullyFilledFromMEDCouplingFieldDoubleInstance(fieldCorba,times); - tmp->AddInputConnection(part->GetProducerPort()); + tmp->SetInputData(part); part->Delete(); } vtkCompositeDataToUnstructuredGridFilter *tmp2=vtkCompositeDataToUnstructuredGridFilter::New(); - tmp2->AddInputConnection(tmp->GetOutput()->GetProducerPort()); + tmp2->SetInputData(tmp->GetOutput()); tmp2->Update(); // vtkUnstructuredGrid *ret3=tmp2->GetOutput();