------------------------------------------------------------
revno: 3969
committer: Jan Stránský <[email protected]>
timestamp: Thu 2016-11-10 22:10:00 +0100
message:
  fixed another little bug in utils.UnstructuredGrid
modified:
  py/utils.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/utils.py'
--- py/utils.py	2016-11-09 10:52:00 +0000
+++ py/utils.py	2016-11-10 21:10:00 +0000
@@ -1011,7 +1011,7 @@
 				cc = inscribedCircleCenter(*vs)
 				for v in vs: v -= cc
 				e.state.pos = cc
-				e.shape.setVertices(vs)
+				e.shape.setVertices(*vs)
 			elif isinstance(e.shape,Tetra):
 				e.shape.v = [self.vertices[j] for j in c]
 			else:

_______________________________________________
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