gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz] BuoyViewMainNode :: boolean mouse - falls down


From: Matti Katila
Subject: [Gzz] BuoyViewMainNode :: boolean mouse - falls down
Date: Thu, 6 Feb 2003 18:21:55 +0200 (EET)

Hi!

Seems like returning true from BuoyViewMainNode crashes.

            if self.mainNode.mouse(ev, self.vs):
this does it -> gfx.util.demo.replaceNewScene(self.vs)
                gzz.client.AbstractUpdateManager.setNoAnimation()
 

trace:
IN CS:  7
PPCanvasCursor:mouse 
ejava.awt.event.MouseEvent[MOUSE_PRESSED,(490,400),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1]
 
on canvas0
ARGV: ['gfx/util/demo.py', 'gfx/demo/../../gzz/modules/pp2/realppview.py']
DBG: d:G:D: ['--dbg=', '--gldbg='] ['-d', '-G', '-D', '--dbg=', 
'--gldbg=']
Exception in mouse
Exception in thread "Thread-2" java.lang.Error: Trying to start two 
updateManagers
        at 
gzz.client.AbstractUpdateManager.setInstance(AbstractUpdateManager.java:51)
        at 
gzz.client.gl.GLUpdateManager.startGLUpdateManager(GLUpdateManager.java:49)
        at gzz.client.gl.GLAPI.startUpdateManager(GLAPI.java:39)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
Already inited: 1

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x50E451A4
Function=glGetString+0x0
Library=/usr/lib/libGL.so.1

Current Java thread:
        at gzz.gfx.gl.GL.getGLString(Native Method)
        at gzz.gfx.gl.GL.init(GL.java:96)
        at gzz.client.gl.GLAPI$1.run(GLAPI.java:42)
        at 
gzz.client.AbstractUpdateManager.run(AbstractUpdateManager.java:387)
        at java.lang.Thread.run(Thread.java:536)


Tuomas, Question:
How did you though to handle the mouse press and then the following 
action?

I mean, it wasn't that easy in pp at all. Of course I do it with 
modules.pp.EventHandling if you give no another idea..


   -Matti





reply via email to

[Prev in Thread] Current Thread [Next in Thread]