← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 4006: fixed bug in yade.export.exportFacetsAsMesh (thanks Jan Havelka for reporting)

 

------------------------------------------------------------
revno: 4006
committer: Jan Stransky <jan.stransky@xxxxxxxxxxx>
timestamp: Fri 2014-06-06 15:40:28 +0200
message:
  fixed bug in yade.export.exportFacetsAsMesh (thanks Jan Havelka for reporting)
modified:
  py/export.py


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'py/export.py'
--- py/export.py	2014-05-05 14:31:38 +0000
+++ py/export.py	2014-06-06 13:40:28 +0000
@@ -468,6 +468,7 @@
 		"""
 		# get list of bodies to export
 		bodies = self._getBodies(ids,Facet)
+		ids = [b.id for b in bodies]
 		if not bodies: return
 		nBodies = len(bodies)
 		if connectivityTable is None: