From: Anthony Geay Date: Fri, 3 Oct 2014 15:07:48 +0000 (+0200) Subject: Debug on // mode. X-Git-Tag: V7_5_0a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=612a42bb40ab0e7fc6a0030bab1d105b62ebae32;p=modules%2Fparavis.git Debug on // mode. --- 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; }