X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FParaMEDCorba%2FVTKParaMEDFieldClient.cxx;h=06fa388880a1c8aaf63b6ae02477e82b09ec18dd;hb=afc623bda037b27145f8679ce453b4f766e3e925;hp=5c3025eb612a435dde685501a7333af9e48d4165;hpb=866822387420d8da61654fcabf49a9e51308c507;p=modules%2Fparavis.git diff --git a/src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx b/src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx index 5c3025eb..06fa3888 100644 --- a/src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx +++ b/src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2010-2014 CEA/DEN, EDF R&D +// Copyright (C) 2010-2016 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,9 +39,10 @@ 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->SetInputData(part); + tmp->AddInputData(part); part->Delete(); } + tmp->Update(); vtkCompositeDataToUnstructuredGridFilter *tmp2=vtkCompositeDataToUnstructuredGridFilter::New(); tmp2->SetInputData(tmp->GetOutput()); tmp2->Update();