]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Porting to PV4.2: porting MED related stuff.
authorabn <adrien.bruneton@cea.fr>
Wed, 10 Sep 2014 11:35:28 +0000 (13:35 +0200)
committerabn <adrien.bruneton@cea.fr>
Wed, 10 Sep 2014 11:35:28 +0000 (13:35 +0200)
Property MAXIMUM_NUMBER_OF_PIECES doesn't exist anymore.

src/Plugins/MEDReader/IO/vtkMEDReader.cxx
src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx

index 769e87a4b802a452a251d4acdc0daf0a1e05cd73..b6436d66f6c070f5969fe3ffd3ff904f2d87878f 100644 (file)
@@ -292,7 +292,7 @@ int vtkMEDReader::RequestInformation(vtkInformation *request, vtkInformationVect
   try
     {
       vtkInformation *outInfo(outputVector->GetInformationObject(0));
-      outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(),-1);
+      //outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(),-1);
       outInfo->Set(vtkDataObject::DATA_TYPE_NAME(),"vtkMultiBlockDataSet");
       this->UpdateSIL(outInfo);
       //
index 7e5c1deb9fca2f14936b5632f0e06250db709363..3ab2d5c7ee62bc00c9c4d3ee27e063def13423e3 100644 (file)
@@ -178,7 +178,8 @@ int vtkParaMEDCorbaSource::RequestInformation(vtkInformation* request, vtkInform
       delete iorTab;
       CORBA::release(objPara);
     }
-    myInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(),this->TotalNumberOfPieces);
+    // This vtkInformationRequestKey is no more present in PV4.2
+    //myInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(),this->TotalNumberOfPieces);
   }
   return 1;
 }