------------------------------------------------------------
revno: 3861
committer: Jan Stransky <[email protected]>
timestamp: Thu 2016-05-19 01:33:31 +0200
message:
  Fixed ymport.textPolyhedra function (bug #1582775)
modified:
  py/ymport.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/ymport.py'
--- py/ymport.py	2016-04-04 06:11:37 +0000
+++ py/ymport.py	2016-05-18 23:33:31 +0000
@@ -448,6 +448,7 @@
 	return tetras
 
 def textPolyhedra(fileName,material,shift=Vector3.Zero,scale=1.0,orientation=Quaternion((0,1,0),0.0),**kw):
+	from yade import polyhedra_utils
 	"""Load polyhedra from a text file.
 	
 	:param str filename: file name

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to