[cig-commits] r14847 - short/3D/PyLith/branches/pylith-swig/pylith/meshio
brad at geodynamics.org
brad at geodynamics.org
Sat May 2 09:48:02 PDT 2009
Author: brad
Date: 2009-05-02 09:48:01 -0700 (Sat, 02 May 2009)
New Revision: 14847
Modified:
short/3D/PyLith/branches/pylith-swig/pylith/meshio/OutputManagerMesh.py
short/3D/PyLith/branches/pylith-swig/pylith/meshio/OutputManagerSubMesh.py
Log:
Fixed bug for args to appendCellField.
Modified: short/3D/PyLith/branches/pylith-swig/pylith/meshio/OutputManagerMesh.py
===================================================================
--- short/3D/PyLith/branches/pylith-swig/pylith/meshio/OutputManagerMesh.py 2009-05-02 04:14:23 UTC (rev 14846)
+++ short/3D/PyLith/branches/pylith-swig/pylith/meshio/OutputManagerMesh.py 2009-05-02 16:48:01 UTC (rev 14847)
@@ -112,7 +112,10 @@
"""
Call C++ appendCellField();
"""
- ModuleOutputManager.appendCellField(self, t, field)
+ if label != None and labelId != None:
+ ModuleOutputManager.appendCellField(self, t, field, label, labelId)
+ else:
+ ModuleOutputManager.appendCellField(self, t, field)
return
Modified: short/3D/PyLith/branches/pylith-swig/pylith/meshio/OutputManagerSubMesh.py
===================================================================
--- short/3D/PyLith/branches/pylith-swig/pylith/meshio/OutputManagerSubMesh.py 2009-05-02 04:14:23 UTC (rev 14846)
+++ short/3D/PyLith/branches/pylith-swig/pylith/meshio/OutputManagerSubMesh.py 2009-05-02 16:48:01 UTC (rev 14847)
@@ -112,7 +112,10 @@
"""
Call C++ appendCellField();
"""
- ModuleOutputManager.appendCellField(self, t, field)
+ if label != None and labelId != None:
+ ModuleOutputManager.appendCellField(self, t, field, label, labelId)
+ else:
+ ModuleOutputManager.appendCellField(self, t, field)
return
More information about the CIG-COMMITS
mailing list