]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Debug on // mode.
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 3 Oct 2014 15:07:48 +0000 (17:07 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 3 Oct 2014 15:07:48 +0000 (17:07 +0200)
src/Plugins/ParaMEDCorba/VTKParaMEDFieldClient.cxx
src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx

index 5c3025eb612a435dde685501a7333af9e48d4165..31efc71edec8a279ff68887e2cbe334e2b4005c4 100644 (file)
@@ -39,9 +39,10 @@ std::vector<double> ParaMEDMEM2VTK::FillMEDCouplingParaFieldDoubleInstanceFrom(S
       SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_var fieldCorba=SALOME_MED::MEDCouplingFieldDoubleCorbaInterface::_narrow(obj);
       std::vector<double> 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();
index 7e5c1deb9fca2f14936b5632f0e06250db709363..cc72c1c34b5e7984f0f6e7b36fcb538b625be9a6 100644 (file)
@@ -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;
 }