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