The patch works, but the light model seem not to be recognised:mattions triton:examples(local)$ python Shapes.py
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/gtk-2.0/gtk/gtkgl/apputils.py", line 243, in __realize
self.glscene.init()
File "Shapes.py", line 156, in init
glLightModel(GL_LIGHT_MODEL_AMBIENT, self.light_ambient)
NameError: global name 'glLightModel' is not defined
On Wed, Dec 9, 2009 at 5:55 PM, Mukund Sivaraman <muks banu com> wrote:On Wed, Dec 09, 2009 at 11:13:57AM +0000, Michele Mattioni wrote:
> Hello list,See if the attached patch fixes this crash.
>
> I downloaded the python binding from git gnome today and I tried to run the
> Shapes example but I've got a segfault
>
> mattions triton:examples(master)$ python Shapes.py
> Segmentation fault
Mukund
Attachment:
0002-Corrected-the-lightModel-with-the-float-array.patch
Description: Binary data