]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Porting 4.2. Tests OK \!
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 8 Oct 2014 15:53:28 +0000 (17:53 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 8 Oct 2014 15:53:28 +0000 (17:53 +0200)
src/Plugins/MEDReader/IO/vtkMEDReader.cxx
src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx

index 7b526f4d898f8b8d7545510d36cecafaa17f7be5..602d96955385caf9dcab95df4d2cebd2bc0a45c9 100644 (file)
@@ -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);
       //
index 8dc111428f96f0ca4e29d05d00d93e95b4744283..56cd156cd312403fdc302a44c2a56e00d5cff6df 100644 (file)
@@ -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;
 }