From 4a1eaa55df85012368c992350b74838c8a6d408c Mon Sep 17 00:00:00 2001 From: abd Date: Thu, 10 Aug 2006 08:38:52 +0000 Subject: [PATCH] Updating Dataset before checking --- src/SVTK/SVTK_DeviceActor.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SVTK/SVTK_DeviceActor.cxx b/src/SVTK/SVTK_DeviceActor.cxx index 33d8f1246..f9fb431a2 100644 --- a/src/SVTK/SVTK_DeviceActor.cxx +++ b/src/SVTK/SVTK_DeviceActor.cxx @@ -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 -- 2.39.2