Hi Michael,

All the sample code that I've seen regarding usage of the StatsHandler is along 
the lines of:

osgViewer::StatsHandler* statsHandler = new osgViewer::StatsHandler;

However, in the 2.9.14 source (in the include directory), the osgViewer 
directory does not have a StatsHandler header. osgAnimation, however, does.

Could someone please point me to an example of proper StatsHandler usage under 
2.9.X?

You've got it, the only little detail missing is that the StatsHandler is declared in the osgViewer/ViewerEventHandlers header. So just include that and you'll be fine.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                    http://whitestar02.dyndns-web.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to