Salome HOME
Porting to VTK 6.
[modules/visu.git] / src / PIPELINE / VISU_XYPlotActor.cxx
index fbc001e79fcf804adef20f2e577e17061fcdeef1..46485603ebce4c0e3c78625c45e6135fd0bcdda7 100644 (file)
@@ -490,7 +490,6 @@ int VISU_XYPlotActor::RenderOpaqueGeometry(vtkViewport *viewport)
     for (mtime=0, this->InputList->InitTraversal(dsit); 
          (ds = this->InputList->GetNextDataSet(dsit)); )
       {
-      //ds->Update(); // OUV_PORTING
       dsMtime = ds->GetMTime();
       if ( dsMtime > mtime )
         {
@@ -505,7 +504,6 @@ int VISU_XYPlotActor::RenderOpaqueGeometry(vtkViewport *viewport)
     for (mtime=0, this->DataObjectInputList->InitTraversal(doit); 
          (dobj = this->DataObjectInputList->GetNextDataObject(doit)); )
       {
-      //dobj->Update(); // OUV_PORTING
       dsMtime = dobj->GetMTime();
       if ( dsMtime > mtime )
         {
@@ -2090,7 +2088,6 @@ void VISU_XYPlotActor::GenerateClipPlanes(int *pos, int *pos2)
 double VISU_XYPlotActor::ComputeGlyphScale(int i, int *pos, int *pos2)
 {
   vtkPolyData *pd=this->LegendActor->GetEntrySymbol(i);
-  //pd->Update(); // OUV_PORTING
   double length=pd->GetLength();
   double sf = this->GlyphSize * sqrt((double)(pos[0]-pos2[0])*(pos[0]-pos2[0]) + 
                                     (pos[1]-pos2[1])*(pos[1]-pos2[1])) / length;