-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nathaniel Troutman wrote: > There is a call to: glScale(sx,sy,sz) there is no glScale, but glScaled and > glScalef, note the "d" and "f" at the end of the function name. The illegal > function call cause the function to exit without calling glPopMatrix() then > the call back _drawfunc() is called which in turn calls draw_body() which > calls glPushMatrix() and the process repeats without glPopMatrix() every > being called.
Hi, Thanks for the analysis! A user was having problems with this program before but I couldn't figure out why. What version of pyopengl are you running? I'm running 2.0.1.09 and I get: $ python Python 2.4.4 (#2, Apr 26 2007, 00:02:45) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import OpenGL.GL >>> OpenGL.GL.glScale <built-in function glScaled> >>> OpenGL.GL.glScaled <built-in function glScaled> I'll probably move it to glScaled, but I'm really curious what version you have that doesn't have this alias in it. Ethan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGkaYfhRlgoLPrRPwRAgOtAJ9ufeIxmN8ZgXkOyRIRGXTr7LkFcQCZAalP 1v3vI5RvIMQk0y9MFVnYTKo= =C9xK -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Pyode-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyode-user
