Added stats handler
This commit is contained in:
parent
976df65bcc
commit
260334e4fe
@ -31,6 +31,7 @@
|
||||
#include <osgDB/WriteFile>
|
||||
|
||||
#include <osgViewer/Viewer>
|
||||
#include <osgViewer/ViewerEventHandlers>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@ -302,6 +303,7 @@ int main(int argc, char **argv)
|
||||
meh->set( viewer.getSceneData() );
|
||||
viewer.addEventHandler( meh );
|
||||
|
||||
viewer.addEventHandler( new osgViewer::StatsHandler());
|
||||
|
||||
if (!filename.empty())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user