Hi Vic,
osg::ref_ptr<osgViewer::View> view;
should be
osg::ref_ptr<osgViewer::View> view = new osgViewer::View;
or else view is default-constructed, and ref_ptr sets its pointer's
value to 0 (NULL) in its default constructor (as the debugger correctly
told you).
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org