Show
Ignore:
Timestamp:
06/12/07 20:58:32 (7 years ago)
Author:
robert
Message:

Added StatsHandler?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgmovie/osgmovie.cpp

    r6948 r6949  
    1818 
    1919#include <osgViewer/Viewer> 
     20#include <osgViewer/ViewerEventHandlers> 
    2021 
    2122#include <osgDB/ReadFile> 
     
    751752    meh->set(viewer.getSceneData()); 
    752753    viewer.addEventHandler(meh); 
     754     
     755    // add in support for stats 
     756    viewer.addEventHandler(new osgViewer::StatsHandler()); 
    753757 
    754758    // report any errors if they have occured when parsing the program aguments.