[cig-commits] r13734 - cs/cigma/trunk/src

luis at geodynamics.org luis at geodynamics.org
Wed Dec 17 02:32:32 PST 2008


Author: luis
Date: 2008-12-17 02:32:28 -0800 (Wed, 17 Dec 2008)
New Revision: 13734

Modified:
   cs/cigma/trunk/src/io_vtk_reader.cpp
Log:
Need vtkIndent class to print a VTK object to std::cout

Modified: cs/cigma/trunk/src/io_vtk_reader.cpp
===================================================================
--- cs/cigma/trunk/src/io_vtk_reader.cpp	2008-12-17 10:32:26 UTC (rev 13733)
+++ cs/cigma/trunk/src/io_vtk_reader.cpp	2008-12-17 10:32:28 UTC (rev 13734)
@@ -462,8 +462,9 @@
 
     if (false)
     {
-        pointData->PrintSelf(cout, 0);
-        cellData->PrintSelf(cout, 0);
+        vtkIndent indent(0);
+        pointData->PrintSelf(cout, indent);
+        cellData->PrintSelf(cout, indent);
     }
 
     int nno = dataset->GetNumberOfPoints();



More information about the CIG-COMMITS mailing list