From: Ethan Glasser-C. <gla...@us...> - 2008-12-24 03:27:44
|
Update of /cvsroot/pyode/pyode/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17871/src Modified Files: ode.pyx declarations.pyx Log Message: Compiling against new ODE -- requires dInitODE(). Index: ode.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/ode.pyx,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** ode.pyx 16 Jun 2007 06:50:11 -0000 1.21 --- ode.pyx 24 Dec 2008 03:27:41 -0000 1.22 *************** *** 292,297 **** --- 292,305 ---- dCloseODE() + def InitODE(): + '''InitODE() + + Initialize some ODE internals. This will be called for you when you + "import ode", but you should call this again if you CloseODE().''' + dInitODE() + ###################################################################### #environment = Body(None) environment = None + InitODE() Index: declarations.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/declarations.pyx,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** declarations.pyx 5 Jun 2007 09:03:10 -0000 1.21 --- declarations.pyx 24 Dec 2008 03:27:41 -0000 1.22 *************** *** 116,119 **** --- 116,120 ---- void dCloseODE() + void dInitODE() void dWorldSetGravity (dWorldID, dReal x, dReal y, dReal z) |