]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Updating Dataset before checking
authorabd <abd@opencascade.com>
Thu, 10 Aug 2006 08:38:52 +0000 (08:38 +0000)
committerabd <abd@opencascade.com>
Thu, 10 Aug 2006 08:38:52 +0000 (08:38 +0000)
src/SVTK/SVTK_DeviceActor.cxx

index 33d8f12463efbc3177bfbad99e687e49a7a9d0f3..f9fb431a2f7e2128b3eb1a95462dfe280b6a42b4 100644 (file)
@@ -252,6 +252,7 @@ SVTK_DeviceActor
   
   if ( vtkDataSet* aDataSet = myPassFilter[ 0 ]->GetOutput() )
   {     
+    aDataSet->Update();
     int numCells=aDataSet->GetNumberOfCells();
     int numPts = aDataSet->GetNumberOfPoints();
     //It's impossible to use to apply "shrink" for "empty" dataset