I added a function called requestRedraw to simpleviewerQT, and all it does is call updateGL(). The code compiles, but whenever I move the mouse it gives a seg fault, anyone know why?
Thanks, -John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Friday, December 15, 2006 3:12 AM To: osg users Subject: Re: [osg-users] Switch from qtosgwidget to osgsimpleviewerqt3 Hi John, On 12/14/06, Whitfield, John M. (SED/TMI) <[EMAIL PROTECTED]> wrote: > The scene is initially loaded then data from a file generates more > nodes for the scene. I have already explicitly been calling > requestRedraw through qosgwidget, which does an updateGL() on its > side. So, I guess what I'm asking is how do I accomplish something > similar with osgsimpleviewerqt3? Next week I'll be focusing on the osgViewer, at that point I'll probably look to formalising some mechansim for updating the graphics windows. For the time being just call updateGL() yourself. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
