From 612a42bb40ab0e7fc6a0030bab1d105b62ebae32 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Fri, 3 Oct 2014 17:07:48 +0200 Subject: [PATCH] Debug on // mode. --- src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx | 3 ++- src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx b/src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx index 5c3025eb..31efc71e 100644 --- a/src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx +++ b/src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx @@ -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(); diff --git a/src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx b/src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx index 7e5c1deb..cc72c1c3 100644 --- a/src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx +++ b/src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx @@ -178,7 +178,7 @@ int vtkParaMEDCorbaSource::RequestInformation(vtkInformation* request, vtkInform delete iorTab; CORBA::release(objPara); } - myInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(),this->TotalNumberOfPieces); + myInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES(),this->TotalNumberOfPieces); } return 1; } -- 2.39.2