Re: [GtkGLExt] Pygtkglext status
- From: Michele Mattioni <mattions gmail com>
- To: Mukund Sivaraman <muks banu com>
- Cc: gtkglext-list <gtkglext-list gnome org>
- Subject: Re: [GtkGLExt] Pygtkglext status
- Date: Thu, 10 Dec 2009 11:26:27 +0000
I open a bug on buzilla to track this:
https://bugzilla.gnome.org/show_bug.cgi?id=604257On Thu, Dec 10, 2009 at 11:08 AM, Michele Mattioni
<mattions gmail com> wrote:
Correcting the glLightModel with glLightModelfv fix the script.
The mouse event are not detected however.
On Wed, Dec 9, 2009 at 7:48 PM, Michele Mattioni
<mattions gmail com> wrote:
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,
>
> 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
See if the attached patch fixes this crash.
Mukund
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]