Added timer code to the init in OsgCameraGroup.
Made the stats view 20 frames rather than 6.
This commit is contained in:
@@ -17,7 +17,7 @@ public:
|
||||
_helpInitialized(false),
|
||||
_statsInitialized(false)
|
||||
{
|
||||
_fs.resize(6);
|
||||
_fs.resize(20);
|
||||
_index = 0;
|
||||
|
||||
_veh->getOsgCameraGroup()->setStatsHandler(this);
|
||||
@@ -27,7 +27,7 @@ public:
|
||||
_stateset->setAttribute(_viewport.get());
|
||||
|
||||
//createHelpText();
|
||||
createStatsText();
|
||||
//createStatsText();
|
||||
|
||||
//_helpInitialized = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user