In previous comment, I meant
O.bodies[0].shape.setVertices(a[0],a[1],a[2],a[3])
O.bodies[0].shape.setVertices(a)
to be consistent with original bug report
--
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bu
setVertices now works without memory leaks passing each vertex as single
argument
O.bodies[0].shape.setVertices(b[0],b[1],b[2],b[3])
or
O.bodies[0].shape.setVertices(*b) # *b in Python does internally the
above code
currently implemented only for 4 vertices, if needed it is easy to
extend to mo
2 matches
Mail list logo