From 73bc90915c1efba1405629537963f6db66987065 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 8 Oct 2014 17:53:28 +0200 Subject: [PATCH] Porting 4.2. Tests OK \! --- src/Plugins/MEDReader/IO/vtkMEDReader.cxx | 1 - src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Plugins/MEDReader/IO/vtkMEDReader.cxx b/src/Plugins/MEDReader/IO/vtkMEDReader.cxx index 7b526f4d..602d9695 100644 --- a/src/Plugins/MEDReader/IO/vtkMEDReader.cxx +++ b/src/Plugins/MEDReader/IO/vtkMEDReader.cxx @@ -297,7 +297,6 @@ int vtkMEDReader::RequestInformation(vtkInformation *request, vtkInformationVect try { vtkInformation *outInfo(outputVector->GetInformationObject(0)); - outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(),-1); outInfo->Set(vtkDataObject::DATA_TYPE_NAME(),"vtkMultiBlockDataSet"); this->UpdateSIL(outInfo); // diff --git a/src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx b/src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx index 8dc11142..56cd156c 100644 --- a/src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx +++ b/src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx @@ -178,8 +178,7 @@ int vtkParaMEDCorbaSource::RequestInformation(vtkInformation* request, vtkInform delete iorTab; CORBA::release(objPara); } - //myInfo->Set(CAN_HANDLE_PIECE_REQUEST(), 1); - myInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(),this->TotalNumberOfPieces); + myInfo->Set(CAN_HANDLE_PIECE_REQUEST(), 1); } return 1; } -- 2.39.2