[cig-commits] r12805 - short/3D/PyLith/trunk/pylith/topology

brad at geodynamics.org brad at geodynamics.org
Thu Sep 4 13:19:55 PDT 2008


Author: brad
Date: 2008-09-04 13:19:55 -0700 (Thu, 04 Sep 2008)
New Revision: 12805

Modified:
   short/3D/PyLith/trunk/pylith/topology/MeshImporter.py
Log:
Added mesh->view() if debug is true.

Modified: short/3D/PyLith/trunk/pylith/topology/MeshImporter.py
===================================================================
--- short/3D/PyLith/trunk/pylith/topology/MeshImporter.py	2008-09-04 20:18:53 UTC (rev 12804)
+++ short/3D/PyLith/trunk/pylith/topology/MeshImporter.py	2008-09-04 20:19:55 UTC (rev 12805)
@@ -79,6 +79,8 @@
     self._logger.eventBegin(logEvent)    
     
     mesh = self.importer.read(self.debug, self.interpolate)
+    if self.debug:
+      mesh.view()
     self._debug.log(resourceUsageString())
     self._info.log("Adjusting topology.")
     self._adjustTopology(mesh, faults)



More information about the cig-commits mailing list