Trying to use view.pick() to pick a quad drawn on a Foreground node. When I do, I get the following exception only when the coordinates are within the quad (ie, successful pick):
java.lang.NegativeArraySizeException
at com.xith3d.render.jogl.CanvasPeerImpl.convertSelectBuffer(CanvasPeerImpl.java:841)
at com.xith3d.render.jogl.CanvasPeerImpl.renderDone(CanvasPeerImpl.java:877)
at com.xith3d.render.jogl.CanvasPeerImpl.display(CanvasPeerImpl.java:1076)
at net.java.games.jogl.impl.GLDrawableHelper.display(GLDrawableHelper.java:74)
at net.java.games.jogl.GLCanvas$DisplayAction.run(GLCanvas.java:198)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:239)
at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:186)
at net.java.games.jogl.GLCanvas.display(GLCanvas.java:74)
at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java:1156)
at com.xith3d.scenegraph.View.pick(View.java:619)
at CRG_World3D.getPickRenderResult(CRG_World3D.java:51)
at CRG_GUI.Message(CRG_GUI.java:73)
at CRG_Manager.Broadcast(CRG_Manager.java:123)
at CRG_Keyboard.update(CRG_Keyboard.java:80)
at CRG_Manager.runCycle(CRG_Manager.java:97)
at CRG_VXI.go(CRG_VXI.java:17)
at CRG_VXI.main(CRG_VXI.java:36)
Any thoughts? It only seems to happen on what would have been a successful pick otherwise.
