yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #12920
[Branch ~yade-pkg/yade/git-trunk] Rev 3969: fixed another little bug in utils.UnstructuredGrid
------------------------------------------------------------
revno: 3969
committer: Jan Stránský <jan.stransky@xxxxxxxxxxx>
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: