Comment 1 for bug 1570679

Revision history for this message
Jan Stránský (honzik) wrote :

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 more vertices

Jan