[osg-users] Widget and Exception

Julen García julen.garcia at yahoo.es
Tue Sep 23 02:23:05 PDT 2008


I have downloaded the 2.6 version and I'm trying to add widget components to my project. All is ok but when I pass the mouse on a 3D object of my scene, an exception occurs

I use this function to start my project

return osgWidget::createExample(viewer, wm, myScene->getScene());

That is ok? If I use return osgWidget::createExample(viewer, wm); my scene doesn't appears. I've tried to call first viewer.setSceneData(myScene->getScene()); but it doesn't work.

Thanks in advance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080923/1c74b2b1/attachment-0002.htm>

More information about the osg-users mailing list